448 + <hbox pack="center"> |
415 + <hbox pack="center"> |
449 + <button id="ctrlTab-showAll" class="ctrlTab-preview" noicon="true"/> |
416 + <button id="ctrlTab-showAll" class="ctrlTab-preview" noicon="true"/> |
450 + </hbox> |
417 + </hbox> |
451 + </panel> |
418 + </panel> |
452 + |
419 + |
453 +#ifdef MOZ_PHOTON_THEME |
|
454 + <panel id="pageActionPanel" |
420 + <panel id="pageActionPanel" |
455 + class="cui-widget-panel" |
421 + class="cui-widget-panel" |
456 + role="group" |
422 + role="group" |
457 + type="arrow" |
423 + type="arrow" |
458 + hidden="true" |
424 + hidden="true" |
459 + flip="slide" |
425 + flip="slide" |
|
426 + photon="true" |
460 + position="bottomcenter topright" |
427 + position="bottomcenter topright" |
461 + tabspecific="true" |
428 + tabspecific="true" |
462 + noautofocus="true" |
429 + noautofocus="true" |
463 + context="pageActionPanelContextMenu" |
430 + copyURL-title="&pageAction.copyLink.label;" |
464 + oncontextmenu="BrowserPageActions.onContextMenu(event);" |
|
465 + copyURL-title="©URLCmd.label;" |
|
466 + emailLink-title="&emailPageCmd.label;" |
431 + emailLink-title="&emailPageCmd.label;" |
467 + sendToDevice-title="&sendToDevice.label2;" |
432 + sendToDevice-title="&pageAction.sendTabToDevice.label;" |
468 + sendToDevice-notReadyTitle="&sendToDevice.syncNotReady.label;"> |
433 + sendToDevice-notReadyTitle="&sendToDevice.syncNotReady.label;"> |
469 + <photonpanelmultiview id="pageActionPanelMultiView" |
434 + <photonpanelmultiview id="pageActionPanelMultiView" |
470 + mainViewId="pageActionPanelMainView" |
435 + mainViewId="pageActionPanelMainView" |
471 + viewCacheId="appMenu-viewCache"> |
436 + viewCacheId="appMenu-viewCache"> |
472 + <panelview id="pageActionPanelMainView" |
437 + <panelview id="pageActionPanelMainView" |
|
438 + context="pageActionPanelContextMenu" |
|
439 + oncontextmenu="BrowserPageActions.onContextMenu(event);" |
473 + class="PanelUI-subView"> |
440 + class="PanelUI-subView"> |
474 + <vbox class="panel-subview-body"/> |
441 + <vbox class="panel-subview-body"/> |
475 + </panelview> |
442 + </panelview> |
476 + </photonpanelmultiview> |
443 + </photonpanelmultiview> |
|
444 + </panel> |
|
445 + <panel id="pageActionFeedback" |
|
446 + role="alert" |
|
447 + type="arrow" |
|
448 + hidden="true" |
|
449 + flip="slide" |
|
450 + position="bottomcenter topright" |
|
451 + tabspecific="true" |
|
452 + noautofocus="true" |
|
453 + copyURLFeedback="©URLFeedback.label;" |
|
454 + sendToDeviceFeedback="&sendToDeviceFeedback.label;"> |
|
455 + <hbox id="pageActionFeedbackAnimatableBox"> |
|
456 + <image id="pageActionFeedbackAnimatableImage"/> |
|
457 + </hbox> |
|
458 + <label id="pageActionFeedbackMessage"/> |
477 + </panel> |
459 + </panel> |
478 + |
460 + |
479 + <menupopup id="pageActionPanelContextMenu" |
461 + <menupopup id="pageActionPanelContextMenu" |
480 + onpopupshowing="BrowserPageActions.onContextMenuShowing(event, this);"> |
462 + onpopupshowing="BrowserPageActions.onContextMenuShowing(event, this);"> |
481 + <menuitem id="pageActionPanelContextMenu-toggleUrlbar" |
463 + <menuitem id="pageActionPanelContextMenu-toggleUrlbar" |
482 + add-label="&pageAction.addToUrlbar.label;" |
464 + add-label="&pageAction.addToUrlbar.label;" |
483 + remove-label="&pageAction.removeFromUrlbar.label;" |
465 + remove-label="&pageAction.removeFromUrlbar.label;" |
484 + label="&pageAction.addToUrlbar.label;" |
466 + label="&pageAction.addToUrlbar.label;" |
485 + oncommand="BrowserPageActions.toggleShownInUrlbarForContextAction();"/> |
467 + oncommand="BrowserPageActions.toggleShownInUrlbarForContextAction();"/> |
486 + </menupopup> |
468 + </menupopup> |
487 +#endif |
|
488 + |
469 + |
489 + <!-- Bookmarks and history tooltip --> |
470 + <!-- Bookmarks and history tooltip --> |
490 + <tooltip id="bhTooltip"/> |
471 + <tooltip id="bhTooltip"/> |
491 + |
472 + |
492 + <tooltip id="tabbrowser-tab-tooltip" onpopupshowing="gBrowser.createTooltip(event);"/> |
473 + <tooltip id="tabbrowser-tab-tooltip" onpopupshowing="gBrowser.createTooltip(event);"/> |
742 + overflowtarget="widget-overflow-list" |
722 + overflowtarget="widget-overflow-list" |
743 + overflowpanel="widget-overflow" |
723 + overflowpanel="widget-overflow" |
744 + context="toolbar-context-menu"> |
724 + context="toolbar-context-menu"> |
745 + |
725 + |
746 + <hbox id="nav-bar-customization-target" flex="1"> |
726 + <hbox id="nav-bar-customization-target" flex="1"> |
|
727 + <toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
|
728 + label="&backCmd.label;" |
|
729 + removable="false" overflows="false" |
|
730 + keepbroadcastattributeswhencustomizing="true" |
|
731 + command="Browser:BackOrBackDuplicate" |
|
732 + onclick="checkForMiddleClick(this, event);" |
|
733 + tooltip="back-button-tooltip" |
|
734 + context="backForwardMenu"/> |
|
735 + <toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
|
736 + label="&forwardCmd.label;" |
|
737 + removable="false" overflows="false" |
|
738 + keepbroadcastattributeswhencustomizing="true" |
|
739 + command="Browser:ForwardOrForwardDuplicate" |
|
740 + onclick="checkForMiddleClick(this, event);" |
|
741 + tooltip="forward-button-tooltip" |
|
742 + context="backForwardMenu"/> |
|
743 + <toolbaritem id="stop-reload-button" class="chromeclass-toolbar-additional" |
|
744 + title="&reloadCmd.label;" |
|
745 + removable="true" overflows="false"> |
|
746 + <toolbarbutton id="reload-button" class="toolbarbutton-1" |
|
747 + label="&reloadCmd.label;" |
|
748 + command="Browser:ReloadOrDuplicate" |
|
749 + onclick="checkForMiddleClick(this, event);" |
|
750 + tooltip="dynamic-shortcut-tooltip"> |
|
751 + <box class="toolbarbutton-animatable-box"> |
|
752 + <image class="toolbarbutton-animatable-image"/> |
|
753 + </box> |
|
754 + </toolbarbutton> |
|
755 + <toolbarbutton id="stop-button" class="toolbarbutton-1" |
|
756 + label="&stopCmd.label;" |
|
757 + command="Browser:Stop" |
|
758 + tooltip="dynamic-shortcut-tooltip"> |
|
759 + <box class="toolbarbutton-animatable-box"> |
|
760 + <image class="toolbarbutton-animatable-image"/> |
|
761 + </box> |
|
762 + </toolbarbutton> |
|
763 + </toolbaritem> |
|
764 + <toolbarbutton id="home-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
|
765 + removable="true" |
|
766 + label="&homeButton.label;" |
|
767 + ondragover="homeButtonObserver.onDragOver(event)" |
|
768 + ondragenter="homeButtonObserver.onDragOver(event)" |
|
769 + ondrop="homeButtonObserver.onDrop(event)" |
|
770 + ondragexit="homeButtonObserver.onDragExit(event)" |
|
771 + key="goHome" |
|
772 + onclick="BrowserGoHome(event);" |
|
773 + cui-areatype="toolbar" |
|
774 + aboutHomeOverrideTooltip="&abouthome.pageTitle;"/> |
|
775 + <toolbarspring cui-areatype="toolbar" class="chromeclass-toolbar-additional"/> |
747 + <toolbaritem id="urlbar-container" flex="400" persist="width" |
776 + <toolbaritem id="urlbar-container" flex="400" persist="width" |
748 + removable="false" |
777 + removable="false" |
749 + class="chromeclass-location" overflows="false"> |
778 + class="chromeclass-location" overflows="false"> |
750 + <toolbarbutton id="back-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
|
751 + removable="false" overflows="false" |
|
752 + label="&backCmd.label;" |
|
753 + command="Browser:BackOrBackDuplicate" |
|
754 + onclick="checkForMiddleClick(this, event);" |
|
755 + tooltip="back-button-tooltip" |
|
756 + context="backForwardMenu"/> |
|
757 +#ifdef MOZ_PHOTON_THEME |
|
758 + <toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
|
759 + removable="false" overflows="false" |
|
760 + label="&forwardCmd.label;" |
|
761 + command="Browser:ForwardOrForwardDuplicate" |
|
762 + onclick="checkForMiddleClick(this, event);" |
|
763 + tooltip="forward-button-tooltip" |
|
764 + context="backForwardMenu"/> |
|
765 + <toolbaritem id="stop-reload-button" |
|
766 + removable="false" overflows="false" |
|
767 + class="chromeclass-toolbar-additional"> |
|
768 + <toolbarbutton id="reload-button" |
|
769 + class="toolbarbutton-1" |
|
770 + command="Browser:ReloadOrDuplicate" |
|
771 + onclick="checkForMiddleClick(this, event);" |
|
772 + tooltip="dynamic-shortcut-tooltip"> |
|
773 + <box class="toolbarbutton-animatable-box"> |
|
774 + <image class="toolbarbutton-animatable-image"/> |
|
775 + </box> |
|
776 + </toolbarbutton> |
|
777 + <toolbarbutton id="stop-button" |
|
778 + class="toolbarbutton-1" |
|
779 + command="Browser:Stop" |
|
780 + tooltip="dynamic-shortcut-tooltip"> |
|
781 + <box class="toolbarbutton-animatable-box"> |
|
782 + <image class="toolbarbutton-animatable-image"/> |
|
783 + </box> |
|
784 + </toolbarbutton> |
|
785 + </toolbaritem> |
|
786 +#endif |
|
787 + <hbox id="urlbar-wrapper" flex="1"> |
|
788 +#ifndef MOZ_PHOTON_THEME |
|
789 + <toolbarbutton id="forward-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
|
790 + label="&forwardCmd.label;" |
|
791 + command="Browser:ForwardOrForwardDuplicate" |
|
792 + onclick="checkForMiddleClick(this, event);" |
|
793 + tooltip="forward-button-tooltip" |
|
794 + context="backForwardMenu"/> |
|
795 +#endif |
|
796 + <textbox id="urlbar" flex="1" |
779 + <textbox id="urlbar" flex="1" |
797 + placeholder="&urlbar.placeholder2;" |
780 + placeholder="&urlbar.placeholder2;" |
798 + type="autocomplete" |
781 + type="autocomplete" |
799 + autocompletesearch="unifiedcomplete" |
782 + autocompletesearch="unifiedcomplete" |
800 + autocompletesearchparam="enable-actions" |
783 + autocompletesearchparam="enable-actions" |
888 + </box> |
871 + </box> |
889 + <box id="urlbar-display-box" align="center"> |
872 + <box id="urlbar-display-box" align="center"> |
890 + <label id="switchtab" class="urlbar-display urlbar-display-switchtab" value="&urlbar.switchToTab.label;"/> |
873 + <label id="switchtab" class="urlbar-display urlbar-display-switchtab" value="&urlbar.switchToTab.label;"/> |
891 + <label id="extension" class="urlbar-display urlbar-display-extension" value="&urlbar.extension.label;"/> |
874 + <label id="extension" class="urlbar-display urlbar-display-extension" value="&urlbar.extension.label;"/> |
892 + </box> |
875 + </box> |
893 + <hbox id="urlbar-icons"> |
876 + <hbox id="page-action-buttons"> |
|
877 + <hbox id="userContext-icons" hidden="true"> |
|
878 + <label id="userContext-label"/> |
|
879 + <image id="userContext-indicator"/> |
|
880 + </hbox> |
894 + <image id="page-report-button" |
881 + <image id="page-report-button" |
895 + class="urlbar-icon" |
882 + class="urlbar-icon urlbar-page-action" |
|
883 + role="button" |
896 + hidden="true" |
884 + hidden="true" |
897 + tooltiptext="&pageReportIcon.tooltip;" |
885 + tooltiptext="&pageReportIcon.tooltip;" |
898 + onmousedown="gPopupBlockerObserver.onReportButtonMousedown(event);"/> |
886 + onmousedown="gPopupBlockerObserver.onReportButtonMousedown(event);"/> |
899 + <image id="reader-mode-button" |
887 + <image id="reader-mode-button" |
900 + class="urlbar-icon" |
888 + class="urlbar-icon urlbar-page-action" |
|
889 + role="button" |
901 + hidden="true" |
890 + hidden="true" |
902 + onclick="ReaderParent.buttonClick(event);"/> |
891 + onclick="ReaderParent.buttonClick(event);"/> |
903 + <toolbarbutton id="urlbar-zoom-button" |
892 + <toolbarbutton id="urlbar-zoom-button" |
904 + onclick="FullZoom.reset();" |
893 + onclick="FullZoom.reset();" |
905 + tooltip="dynamic-shortcut-tooltip" |
894 + tooltip="dynamic-shortcut-tooltip" |
906 + hidden="true"/> |
895 + hidden="true"/> |
907 +#ifdef MOZ_PHOTON_THEME |
896 + <box id="pageActionSeparator" class="urlbar-page-action"/> |
908 + <image id="pageActionButton" |
897 + <image id="pageActionButton" |
909 + class="urlbar-icon" |
898 + class="urlbar-icon urlbar-page-action" |
|
899 + role="button" |
910 + tooltiptext="&pageActionButton.tooltip;" |
900 + tooltiptext="&pageActionButton.tooltip;" |
911 + onclick="BrowserPageActions.mainButtonClicked(event);"/> |
901 + onmousedown="BrowserPageActions.mainButtonClicked(event);"/> |
912 + <hbox id="star-button-box" hidden="true"> |
902 + <hbox id="star-button-box" |
|
903 + hidden="true" |
|
904 + class="urlbar-icon-wrapper urlbar-page-action" |
|
905 + context="pageActionPanelContextMenu" |
|
906 + oncontextmenu="BrowserPageActions.onContextMenu(event);" |
|
907 + onclick="BrowserPageActions.doCommandForAction(PageActions.actionForID('bookmark'), event, this);"> |
913 + <image id="star-button" |
908 + <image id="star-button" |
914 + class="urlbar-icon" |
909 + class="urlbar-icon" |
915 + onclick="BookmarkingUI.onStarCommand(event);"> |
910 + role="button" |
916 + <observes element="bookmarkThisPageBroadcaster" attribute="starred"/> |
911 + observes="bookmarkThisPageBroadcaster"/> |
917 + <observes element="bookmarkThisPageBroadcaster" attribute="tooltiptext"/> |
|
918 + </image> |
|
919 + <hbox id="star-button-animatable-box"> |
912 + <hbox id="star-button-animatable-box"> |
920 + <image id="star-button-animatable-image" |
913 + <image id="star-button-animatable-image" |
921 + onclick="BookmarkingUI.onStarCommand(event);"/> |
914 + role="presentation" |
|
915 + observes="bookmarkThisPageBroadcaster"/> |
922 + </hbox> |
916 + </hbox> |
923 + </hbox> |
917 + </hbox> |
924 +#endif |
|
925 + </hbox> |
918 + </hbox> |
926 + <hbox id="userContext-icons" hidden="true"> |
|
927 + <label id="userContext-label"/> |
|
928 + <image id="userContext-indicator"/> |
|
929 + </hbox> |
|
930 +#ifndef MOZ_PHOTON_THEME |
|
931 + <toolbarbutton id="urlbar-go-button" |
|
932 + class="chromeclass-toolbar-additional" |
|
933 + onclick="gURLBar.handleCommand(event);" |
|
934 + tooltiptext="&goEndCap.tooltip;"/> |
|
935 + <toolbarbutton id="reload-button" |
|
936 + class="chromeclass-toolbar-additional" |
|
937 + command="Browser:ReloadOrDuplicate" |
|
938 + onclick="checkForMiddleClick(this, event);" |
|
939 + tooltip="dynamic-shortcut-tooltip"/> |
|
940 + <toolbarbutton id="stop-button" |
|
941 + class="chromeclass-toolbar-additional" |
|
942 + command="Browser:Stop" |
|
943 + tooltip="dynamic-shortcut-tooltip"/> |
|
944 +#endif |
|
945 + </textbox> |
919 + </textbox> |
946 + </hbox> |
|
947 + </toolbaritem> |
920 + </toolbaritem> |
948 + |
921 + |
949 + <toolbaritem id="search-container" title="&searchItem.title;" |
922 + <toolbarspring cui-areatype="toolbar" class="chromeclass-toolbar-additional"/> |
950 + align="center" class="chromeclass-toolbar-additional panel-wide-item" |
|
951 + cui-areatype="toolbar" |
|
952 + flex="100" persist="width" removable="true"> |
|
953 + <searchbar id="searchbar" flex="1"/> |
|
954 + </toolbaritem> |
|
955 + |
|
956 + <toolbarbutton id="bookmarks-menu-button" |
|
957 + class="toolbarbutton-1 chromeclass-toolbar-additional" |
|
958 + removable="true" |
|
959 +#ifdef MOZ_PHOTON_THEME |
|
960 + type="menu" |
|
961 +#else |
|
962 + type="menu-button" |
|
963 +#endif |
|
964 + label="&bookmarksMenuButton.label;" |
|
965 + tooltip="dynamic-shortcut-tooltip" |
|
966 + anchor="dropmarker" |
|
967 + ondragenter="PlacesMenuDNDHandler.onDragEnter(event);" |
|
968 + ondragover="PlacesMenuDNDHandler.onDragOver(event);" |
|
969 + ondragleave="PlacesMenuDNDHandler.onDragLeave(event);" |
|
970 + ondrop="PlacesMenuDNDHandler.onDrop(event);" |
|
971 + cui-areatype="toolbar" |
|
972 + oncommand="BookmarkingUI.onCommand(event);"> |
|
973 + <observes element="bookmarkThisPageBroadcaster" attribute="starred"/> |
|
974 + <observes element="bookmarkThisPageBroadcaster" attribute="buttontooltiptext"/> |
|
975 + <menupopup id="BMB_bookmarksPopup" |
|
976 + class="cui-widget-panel cui-widget-panelview cui-widget-panelWithFooter PanelUI-subView" |
|
977 + placespopup="true" |
|
978 + context="placesContext" |
|
979 + openInTabs="children" |
|
980 + oncommand="BookmarksEventHandler.onCommand(event);" |
|
981 + onclick="BookmarksEventHandler.onClick(event, this.parentNode._placesView);" |
|
982 + onpopupshowing="BookmarkingUI.onPopupShowing(event); |
|
983 + BookmarkingUI.attachPlacesView(event, this);" |
|
984 + tooltip="bhTooltip" popupsinherittooltip="true"> |
|
985 + <menuitem id="BMB_viewBookmarksSidebar" |
|
986 + class="subviewbutton" |
|
987 + label="&viewBookmarksSidebar2.label;" |
|
988 + type="checkbox" |
|
989 + oncommand="SidebarUI.toggle('viewBookmarksSidebar');"> |
|
990 + <observes element="viewBookmarksSidebar" attribute="checked"/> |
|
991 + </menuitem> |
|
992 + <!-- NB: temporary solution for bug 985024, this should go away soon. --> |
|
993 + <menuitem id="BMB_bookmarksShowAllTop" |
|
994 + class="menuitem-iconic subviewbutton" |
|
995 + label="&showAllBookmarks2.label;" |
|
996 + command="Browser:ShowAllBookmarks" |
|
997 + key="manBookmarkKb"/> |
|
998 + <menuseparator/> |
|
999 + <menuitem label="&recentBookmarks.label;" |
|
1000 + id="BMB_recentBookmarks" |
|
1001 + disabled="true" |
|
1002 + class="menuitem-iconic subviewbutton"/> |
|
1003 + <menuseparator/> |
|
1004 + <menu id="BMB_bookmarksToolbar" |
|
1005 + class="menu-iconic bookmark-item subviewbutton" |
|
1006 + label="&personalbarCmd.label;" |
|
1007 + container="true"> |
|
1008 + <menupopup id="BMB_bookmarksToolbarPopup" |
|
1009 + placespopup="true" |
|
1010 + context="placesContext" |
|
1011 + onpopupshowing="if (!this.parentNode._placesView) |
|
1012 + new PlacesMenu(event, 'place:folder=TOOLBAR', |
|
1013 + PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"> |
|
1014 + <menuitem id="BMB_viewBookmarksToolbar" |
|
1015 + placesanonid="view-toolbar" |
|
1016 + toolbarId="PersonalToolbar" |
|
1017 + type="checkbox" |
|
1018 + oncommand="onViewToolbarCommand(event)" |
|
1019 + label="&viewBookmarksToolbar.label;"/> |
|
1020 + <menuseparator/> |
|
1021 + <!-- Bookmarks toolbar items --> |
|
1022 + </menupopup> |
|
1023 + </menu> |
|
1024 + <menu id="BMB_unsortedBookmarks" |
|
1025 + class="menu-iconic bookmark-item subviewbutton" |
|
1026 + label="&bookmarksMenuButton.other.label;" |
|
1027 + container="true"> |
|
1028 + <menupopup id="BMB_unsortedBookmarksPopup" |
|
1029 + placespopup="true" |
|
1030 + context="placesContext" |
|
1031 + onpopupshowing="if (!this.parentNode._placesView) |
|
1032 + new PlacesMenu(event, 'place:folder=UNFILED_BOOKMARKS', |
|
1033 + PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/> |
|
1034 + </menu> |
|
1035 + <menu id="BMB_mobileBookmarks" |
|
1036 + class="menu-iconic bookmark-item subviewbutton" |
|
1037 + label="&bookmarksMenuButton.mobile.label;" |
|
1038 + hidden="true" |
|
1039 + container="true"> |
|
1040 + <menupopup id="BMB_mobileBookmarksPopup" |
|
1041 + placespopup="true" |
|
1042 + context="placesContext" |
|
1043 + onpopupshowing="if (!this.parentNode._placesView) |
|
1044 + new PlacesMenu(event, 'place:folder=MOBILE_BOOKMARKS', |
|
1045 + PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/> |
|
1046 + </menu> |
|
1047 + |
|
1048 + <menuseparator/> |
|
1049 + <!-- Bookmarks menu items will go here --> |
|
1050 + <menuitem id="BMB_bookmarksShowAll" |
|
1051 + class="subviewbutton panel-subview-footer" |
|
1052 + label="&showAllBookmarks2.label;" |
|
1053 + command="Browser:ShowAllBookmarks" |
|
1054 + key="manBookmarkKb"/> |
|
1055 + </menupopup> |
|
1056 + </toolbarbutton> |
|
1057 + |
923 + |
1058 + <!-- This is a placeholder for the Downloads Indicator. It is visible |
924 + <!-- This is a placeholder for the Downloads Indicator. It is visible |
1059 + during the customization of the toolbar, in the palette, and before |
925 + during the customization of the toolbar, in the palette, and before |
1060 + the Downloads Indicator overlay is loaded. --> |
926 + the Downloads Indicator overlay is loaded. --> |
1061 + <toolbarbutton id="downloads-button" |
927 + <toolbarbutton id="downloads-button" |
1062 + class="toolbarbutton-1 chromeclass-toolbar-additional badged-button" |
928 + class="toolbarbutton-1 chromeclass-toolbar-additional badged-button" |
1063 + key="key_openDownloads" |
929 + key="key_openDownloads" |
1064 + oncommand="DownloadsIndicatorView.onCommand(event);" |
930 + onmousedown="DownloadsIndicatorView.onCommand(event);" |
1065 + ondrop="DownloadsIndicatorView.onDrop(event);" |
931 + ondrop="DownloadsIndicatorView.onDrop(event);" |
1066 + ondragover="DownloadsIndicatorView.onDragOver(event);" |
932 + ondragover="DownloadsIndicatorView.onDragOver(event);" |
1067 + ondragenter="DownloadsIndicatorView.onDragOver(event);" |
933 + ondragenter="DownloadsIndicatorView.onDragOver(event);" |
1068 + label="&downloads.label;" |
934 + label="&downloads.label;" |
1069 + removable="true" |
935 + removable="true" |
|
936 + overflows="false" |
1070 + cui-areatype="toolbar" |
937 + cui-areatype="toolbar" |
|
938 + hidden="true" |
1071 + tooltip="dynamic-shortcut-tooltip"/> |
939 + tooltip="dynamic-shortcut-tooltip"/> |
1072 + |
940 + |
1073 + <toolbarbutton id="home-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
941 + <toolbarbutton id="library-button" class="toolbarbutton-1 chromeclass-toolbar-additional subviewbutton-nav" |
1074 + removable="true" |
942 + removable="true" |
1075 + label="&homeButton.label;" |
943 + onmousedown="PanelUI.showSubView('appMenu-libraryView', this, null, event);" |
1076 + ondragover="homeButtonObserver.onDragOver(event)" |
944 + closemenu="none" |
1077 + ondragenter="homeButtonObserver.onDragOver(event)" |
|
1078 + ondrop="homeButtonObserver.onDrop(event)" |
|
1079 + ondragexit="homeButtonObserver.onDragExit(event)" |
|
1080 + key="goHome" |
|
1081 + onclick="BrowserGoHome(event);" |
|
1082 + cui-areatype="toolbar" |
945 + cui-areatype="toolbar" |
1083 + aboutHomeOverrideTooltip="&abouthome.pageTitle;"/> |
946 + tooltiptext="&libraryButton.tooltip;" |
|
947 + label="&places.library.title;"/> |
|
948 + |
1084 + </hbox> |
949 + </hbox> |
1085 + |
950 + |
1086 + <toolbarbutton id="nav-bar-overflow-button" |
951 + <toolbarbutton id="nav-bar-overflow-button" |
1087 + class="toolbarbutton-1 chromeclass-toolbar-additional overflow-button" |
952 + class="toolbarbutton-1 chromeclass-toolbar-additional overflow-button" |
1088 + skipintoolbarset="true" |
953 + skipintoolbarset="true" |
1089 + tooltiptext="&navbarOverflow.label;"> |
954 + tooltiptext="&navbarOverflow.label;"> |
1090 +#ifdef MOZ_PHOTON_ANIMATIONS |
|
1091 + <box class="toolbarbutton-animatable-box"> |
955 + <box class="toolbarbutton-animatable-box"> |
1092 + <image class="toolbarbutton-animatable-image"/> |
956 + <image class="toolbarbutton-animatable-image"/> |
1093 + </box> |
957 + </box> |
1094 +#endif |
|
1095 + </toolbarbutton> |
958 + </toolbarbutton> |
1096 + |
959 + |
1097 + <toolbaritem id="PanelUI-button" |
960 + <toolbaritem id="PanelUI-button" |
1098 + class="chromeclass-toolbar-additional" |
|
1099 + removable="false"> |
961 + removable="false"> |
1100 + <toolbarbutton id="PanelUI-menu-button" |
962 + <toolbarbutton id="PanelUI-menu-button" |
1101 + class="toolbarbutton-1 badged-button" |
963 + class="toolbarbutton-1 badged-button" |
1102 + consumeanchor="PanelUI-button" |
964 + consumeanchor="PanelUI-button" |
1103 + label="&brandShortName;" |
965 + label="&brandShortName;" |
1212 + <toolbarbutton id="fullscreen-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
1068 + <toolbarbutton id="fullscreen-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
1213 + observes="View:FullScreen" |
1069 + observes="View:FullScreen" |
1214 + type="checkbox" |
1070 + type="checkbox" |
1215 + label="&fullScreenCmd.label;" |
1071 + label="&fullScreenCmd.label;" |
1216 + tooltip="dynamic-shortcut-tooltip"/> |
1072 + tooltip="dynamic-shortcut-tooltip"/> |
1217 +#ifdef MOZ_PHOTON_THEME |
1073 + |
1218 + <toolbarbutton id="library-button" class="toolbarbutton-1 chromeclass-toolbar-additional" |
1074 + <toolbarbutton id="bookmarks-menu-button" |
1219 + oncommand="PanelUI.showSubView('appMenu-libraryView', this, null, event);" |
1075 + class="toolbarbutton-1 chromeclass-toolbar-additional subviewbutton-nav" |
1220 + closemenu="none" |
1076 + type="menu" |
1221 + label="&places.library.title;"> |
1077 + label="&bookmarksMenuButton2.label;" |
1222 + <box class="toolbarbutton-animatable-box"> |
1078 + tooltip="dynamic-shortcut-tooltip" |
1223 + <image class="toolbarbutton-animatable-image"/> |
1079 + anchor="dropmarker" |
1224 + </box> |
1080 + ondragenter="PlacesMenuDNDHandler.onDragEnter(event);" |
|
1081 + ondragover="PlacesMenuDNDHandler.onDragOver(event);" |
|
1082 + ondragleave="PlacesMenuDNDHandler.onDragLeave(event);" |
|
1083 + ondrop="PlacesMenuDNDHandler.onDrop(event);" |
|
1084 + oncommand="BookmarkingUI.onCommand(event);"> |
|
1085 + <observes element="bookmarkThisPageBroadcaster" attribute="starred"/> |
|
1086 + <observes element="bookmarkThisPageBroadcaster" attribute="buttontooltiptext"/> |
|
1087 + <menupopup id="BMB_bookmarksPopup" |
|
1088 + class="cui-widget-panel cui-widget-panelview cui-widget-panelWithFooter PanelUI-subView" |
|
1089 + placespopup="true" |
|
1090 + context="placesContext" |
|
1091 + openInTabs="children" |
|
1092 + onmouseup="BookmarksEventHandler.onMouseUp(event);" |
|
1093 + oncommand="BookmarksEventHandler.onCommand(event);" |
|
1094 + onclick="BookmarksEventHandler.onClick(event, this.parentNode._placesView);" |
|
1095 + onpopupshowing="BookmarkingUI.onPopupShowing(event); |
|
1096 + BookmarkingUI.attachPlacesView(event, this);" |
|
1097 + tooltip="bhTooltip" popupsinherittooltip="true"> |
|
1098 + <menuitem id="BMB_viewBookmarksSidebar" |
|
1099 + class="subviewbutton" |
|
1100 + label="&viewBookmarksSidebar2.label;" |
|
1101 + type="checkbox" |
|
1102 + oncommand="SidebarUI.toggle('viewBookmarksSidebar');"> |
|
1103 + <observes element="viewBookmarksSidebar" attribute="checked"/> |
|
1104 + </menuitem> |
|
1105 + <!-- NB: temporary solution for bug 985024, this should go away soon. --> |
|
1106 + <menuitem id="BMB_bookmarksShowAllTop" |
|
1107 + class="menuitem-iconic subviewbutton" |
|
1108 + label="&showAllBookmarks2.label;" |
|
1109 + command="Browser:ShowAllBookmarks" |
|
1110 + key="manBookmarkKb"/> |
|
1111 + <menuseparator/> |
|
1112 + <menu id="BMB_bookmarksToolbar" |
|
1113 + class="menu-iconic bookmark-item subviewbutton" |
|
1114 + label="&personalbarCmd.label;" |
|
1115 + container="true"> |
|
1116 + <menupopup id="BMB_bookmarksToolbarPopup" |
|
1117 + placespopup="true" |
|
1118 + context="placesContext" |
|
1119 + onpopupshowing="if (!this.parentNode._placesView) |
|
1120 + new PlacesMenu(event, 'place:folder=TOOLBAR', |
|
1121 + PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"> |
|
1122 + <menuitem id="BMB_viewBookmarksToolbar" |
|
1123 + placesanonid="view-toolbar" |
|
1124 + toolbarId="PersonalToolbar" |
|
1125 + type="checkbox" |
|
1126 + oncommand="onViewToolbarCommand(event)" |
|
1127 + label="&viewBookmarksToolbar.label;"/> |
|
1128 + <menuseparator/> |
|
1129 + <!-- Bookmarks toolbar items --> |
|
1130 + </menupopup> |
|
1131 + </menu> |
|
1132 + <menu id="BMB_unsortedBookmarks" |
|
1133 + class="menu-iconic bookmark-item subviewbutton" |
|
1134 + label="&bookmarksMenuButton.other.label;" |
|
1135 + container="true"> |
|
1136 + <menupopup id="BMB_unsortedBookmarksPopup" |
|
1137 + placespopup="true" |
|
1138 + context="placesContext" |
|
1139 + onpopupshowing="if (!this.parentNode._placesView) |
|
1140 + new PlacesMenu(event, 'place:folder=UNFILED_BOOKMARKS', |
|
1141 + PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/> |
|
1142 + </menu> |
|
1143 + <menu id="BMB_mobileBookmarks" |
|
1144 + class="menu-iconic bookmark-item subviewbutton" |
|
1145 + label="&bookmarksMenuButton.mobile.label;" |
|
1146 + hidden="true" |
|
1147 + container="true"> |
|
1148 + <menupopup id="BMB_mobileBookmarksPopup" |
|
1149 + placespopup="true" |
|
1150 + context="placesContext" |
|
1151 + onpopupshowing="if (!this.parentNode._placesView) |
|
1152 + new PlacesMenu(event, 'place:folder=MOBILE_BOOKMARKS', |
|
1153 + PlacesUIUtils.getViewForNode(this.parentNode.parentNode).options);"/> |
|
1154 + </menu> |
|
1155 + |
|
1156 + <menuseparator/> |
|
1157 + <!-- Bookmarks menu items will go here --> |
|
1158 + <menuitem id="BMB_bookmarksShowAll" |
|
1159 + class="subviewbutton panel-subview-footer" |
|
1160 + label="&showAllBookmarks2.label;" |
|
1161 + command="Browser:ShowAllBookmarks" |
|
1162 + key="manBookmarkKb"/> |
|
1163 + </menupopup> |
1225 + </toolbarbutton> |
1164 + </toolbarbutton> |
1226 +#endif |
1165 + |
|
1166 + <toolbaritem id="search-container" |
|
1167 + class="chromeclass-toolbar-additional panel-wide-item" |
|
1168 + title="&searchItem.title;" |
|
1169 + align="center" |
|
1170 + flex="100" |
|
1171 + persist="width"> |
|
1172 + <searchbar id="searchbar" flex="1"/> |
|
1173 + </toolbaritem> |
1227 + </toolbarpalette> |
1174 + </toolbarpalette> |
|
1175 + <box id="library-animatable-box" class="toolbarbutton-animatable-box"> |
|
1176 + <image class="toolbarbutton-animatable-image"/> |
|
1177 + </box> |
1228 + </toolbox> |
1178 + </toolbox> |
1229 + |
1179 + |
1230 + <hbox id="fullscr-toggler" hidden="true"/> |
1180 + <hbox id="fullscr-toggler" hidden="true"/> |
1231 + |
1181 + |
1232 + <deck id="content-deck" flex="1"> |
1182 + <deck id="content-deck" flex="1"> |