browser/components/places/content/bookmarksPanel.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/components/places/content/bookmarksPanel.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,54 @@
     1.4 +<?xml version="1.0"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil; -*- --> 
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
    1.10 +<?xml-stylesheet href="chrome://browser/content/places/places.css"?>
    1.11 +<?xml-stylesheet href="chrome://browser/skin/places/places.css"?>
    1.12 +<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
    1.13 +<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?>
    1.14 +
    1.15 +<!DOCTYPE page SYSTEM "chrome://browser/locale/places/places.dtd">
    1.16 +
    1.17 +<page id="bookmarksPanel"
    1.18 +      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    1.19 +      xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.20 +      onload="init();"
    1.21 +      onunload="SidebarUtils.setMouseoverURL('');">
    1.22 +
    1.23 +  <script type="application/javascript" 
    1.24 +          src="chrome://browser/content/bookmarks/sidebarUtils.js"/>
    1.25 +  <script type="application/javascript" 
    1.26 +          src="chrome://browser/content/bookmarks/bookmarksPanel.js"/>
    1.27 +
    1.28 +  <commandset id="placesCommands"/>
    1.29 +  <commandset id="editMenuCommands"/>
    1.30 +  <menupopup id="placesContext"/>
    1.31 +
    1.32 +  <!-- Bookmarks and history tooltip -->
    1.33 +  <tooltip id="bhTooltip"/>
    1.34 +
    1.35 +  <hbox id="sidebar-search-container" align="center">
    1.36 +    <label id="sidebar-search-label"
    1.37 +           value="&search.label;" accesskey="&search.accesskey;" control="search-box"/>
    1.38 +    <textbox id="search-box" flex="1" type="search" class="compact"
    1.39 +             aria-controls="bookmarks-view"
    1.40 +             oncommand="searchBookmarks(this.value);"/>
    1.41 +  </hbox>
    1.42 +
    1.43 +  <tree id="bookmarks-view" class="sidebar-placesTree" type="places"
    1.44 +        flex="1"
    1.45 +        hidecolumnpicker="true"
    1.46 +        context="placesContext"
    1.47 +        onkeypress="SidebarUtils.handleTreeKeyPress(event);"
    1.48 +        onclick="SidebarUtils.handleTreeClick(this, event, true);"
    1.49 +        onmousemove="SidebarUtils.handleTreeMouseMove(event);"
    1.50 +        onmouseout="SidebarUtils.setMouseoverURL('');">
    1.51 +    <treecols>
    1.52 +      <treecol id="title" flex="1" primary="true" hideheader="true"/>
    1.53 +    </treecols>
    1.54 +    <treechildren id="bookmarks-view-children" view="bookmarks-view"
    1.55 +                  class="sidebar-placesTreechildren" flex="1" tooltip="bhTooltip"/>
    1.56 +  </tree>
    1.57 +</page>

mercurial