74 + onpopupshowing="if (event.target == this) TabContextMenu.updateContextMenu(this);" |
74 + onpopupshowing="if (event.target == this) TabContextMenu.updateContextMenu(this);" |
75 + onpopuphidden="if (event.target == this) TabContextMenu.contextTab = null;"> |
75 + onpopuphidden="if (event.target == this) TabContextMenu.contextTab = null;"> |
76 + <menuitem id="context_reloadTab" label="&reloadTab.label;" accesskey="&reloadTab.accesskey;" |
76 + <menuitem id="context_reloadTab" label="&reloadTab.label;" accesskey="&reloadTab.accesskey;" |
77 + oncommand="gBrowser.reloadTab(TabContextMenu.contextTab);"/> |
77 + oncommand="gBrowser.reloadTab(TabContextMenu.contextTab);"/> |
78 + <menuseparator/> |
78 + <menuseparator/> |
79 + <menuitem id="context_pinTab" label="&pinAppTab.label;" |
79 + <menuitem id="context_pinTab" label="&pinTab.label;" |
80 + accesskey="&pinAppTab.accesskey;" |
80 + accesskey="&pinTab.accesskey;" |
81 + oncommand="gBrowser.pinTab(TabContextMenu.contextTab);"/> |
81 + oncommand="gBrowser.pinTab(TabContextMenu.contextTab);"/> |
82 + <menuitem id="context_unpinTab" label="&unpinAppTab.label;" hidden="true" |
82 + <menuitem id="context_unpinTab" label="&unpinTab.label;" hidden="true" |
83 + accesskey="&unpinAppTab.accesskey;" |
83 + accesskey="&unpinTab.accesskey;" |
84 + oncommand="gBrowser.unpinTab(TabContextMenu.contextTab);"/> |
84 + oncommand="gBrowser.unpinTab(TabContextMenu.contextTab);"/> |
85 + <menu id="context_tabViewMenu" label="&moveToGroup.label;" |
85 + <menu id="context_tabViewMenu" label="&moveToGroup.label;" |
86 + accesskey="&moveToGroup.accesskey;"> |
86 + accesskey="&moveToGroup.accesskey;"> |
87 + <menupopup id="context_tabViewMenuPopup" |
87 + <menupopup id="context_tabViewMenuPopup" |
88 + onpopupshowing="if (event.target == this) TabView.moveToGroupPopupShowing(event);"> |
88 + onpopupshowing="if (event.target == this) TabView.moveToGroupPopupShowing(event);"> |
193 + <image src="chrome://browser/content/social-icon.png" class="popup-notification-icon"/> |
193 + <image src="chrome://browser/content/social-icon.png" class="popup-notification-icon"/> |
194 + <vbox flex="1"> |
194 + <vbox flex="1"> |
195 + <description id="social-activation-message" class="popup-notification-description"/> |
195 + <description id="social-activation-message" class="popup-notification-description"/> |
196 + <spacer flex="1"/> |
196 + <spacer flex="1"/> |
197 + <hbox pack="end" align="center" class="popup-notification-button-container"> |
197 + <hbox pack="end" align="center" class="popup-notification-button-container"> |
198 +#ifdef XP_UNIX |
198 +#ifndef XP_UNIX |
199 + <button id="social-undoactivation-button" |
199 + <button id="social-undoactivation-button" |
200 + label="&social.activated.undobutton.label;" |
200 + label="&social.activated.undobutton.label;" |
201 + accesskey="&social.activated.undobutton.accesskey;" |
201 + accesskey="&social.activated.undobutton.accesskey;" |
202 + onclick="SocialUI.undoActivation();"/> |
202 + onclick="SocialUI.undoActivation();"/> |
203 + <button default="true" |
203 + <button default="true" |
219 + </hbox> |
219 + </hbox> |
220 + </vbox> |
220 + </vbox> |
221 + </hbox> |
221 + </hbox> |
222 + </panel> |
222 + </panel> |
223 + |
223 + |
224 + <panel id="editSharePopup" |
224 + <panel id="unsharePopup" |
225 + type="arrow" |
225 + type="arrow" |
226 + orient="vertical" |
226 + orient="vertical" |
227 + ignorekeys="true" |
227 + ignorekeys="true" |
228 + hidden="true" |
228 + hidden="true" |
229 + onpopupshown="SocialShareButton.panelShown(event);" |
229 + onpopupshown="SocialShareButton.panelShown(event);" |
230 + consumeoutsideclicks="true" |
230 + consumeoutsideclicks="true" |
231 + level="top"> |
231 + level="top"> |
232 + <row id="editSharePopupHeader" align="center"> |
232 + <!-- Note that 'label', 'accesskey', 'value' and 'aria-label' attributes |
|
233 + for many of these elements are supplied by the provider and filled |
|
234 + in at runtime |
|
235 + --> |
|
236 + <row id="unsharePopupHeader" align="center"> |
233 + <vbox align="center"> |
237 + <vbox align="center"> |
234 + <image id="socialUserPortrait" onclick="SocialUI.showProfile();" |
238 + <image id="socialUserPortrait" onclick="SocialUI.showProfile();"/> |
235 + aria-label="&social.sharePopup.portrait.arialabel;"/> |
|
236 + </vbox> |
239 + </vbox> |
237 + <vbox id="editSharePopupText"> |
240 + <vbox id="unsharePopupText"> |
238 + <button id="socialUserDisplayName" |
241 + <button id="socialUserDisplayName" pack="start" |
239 + oncommand="SocialUI.showProfile();"/> |
242 + oncommand="SocialUI.showProfile();"/> |
240 + <spacer flex="1"/> |
243 + <spacer flex="1"/> |
241 + <label id="socialUserRecommendedText" |
244 + <label id="socialUserRecommendedText"/> |
242 + value="&social.sharePopup.shared.label;"/> |
|
243 + </vbox> |
245 + </vbox> |
244 + </row> |
246 + </row> |
245 + <hbox id="editSharePopupBottomButtons" pack="end"> |
247 + <hbox id="unsharePopupBottomButtons" pack="end"> |
246 +#ifdef XP_UNIX |
248 +#ifndef XP_UNIX |
247 + <button id="editSharePopupUndoButton" |
249 + <button id="unsharePopupStopSharingButton" |
248 + class="editSharePopupBottomButton" |
250 + class="unsharePopupBottomButton" |
249 + label="&social.sharePopup.undo.label;" |
|
250 + accesskey="&social.sharePopup.undo.accesskey;" |
|
251 + command="Social:UnsharePage"/> |
251 + command="Social:UnsharePage"/> |
252 + <button id="editSharePopupOkButton" |
252 + <button id="unsharePopupContinueSharingButton" |
253 + class="editSharePopupBottomButton" |
253 + class="unsharePopupBottomButton" |
254 + default="true" |
254 + default="true" |
255 + autofocus="autofocus" |
255 + autofocus="autofocus" |
256 + label="&social.ok.label;" |
256 + oncommand="SocialShareButton.dismissUnsharePopup();"/> |
257 + accesskey="&social.ok.accesskey;" |
|
258 + oncommand="SocialShareButton.dismissSharePopup();"/> |
|
259 +#else |
257 +#else |
260 + <button id="editSharePopupOkButton" |
258 + <button id="unsharePopupContinueSharingButton" |
261 + class="editSharePopupBottomButton" |
259 + class="unsharePopupBottomButton" |
262 + default="true" |
260 + default="true" |
263 + autofocus="autofocus" |
261 + autofocus="autofocus" |
264 + label="&social.ok.label;" |
262 + oncommand="SocialShareButton.dismissUnsharePopup();"/> |
265 + accesskey="&social.ok.accesskey;" |
263 + <button id="unsharePopupStopSharingButton" |
266 + oncommand="SocialShareButton.dismissSharePopup();"/> |
264 + class="unsharePopupBottomButton" |
267 + <button id="editSharePopupUndoButton" |
|
268 + class="editSharePopupBottomButton" |
|
269 + label="&social.sharePopup.undo.label;" |
|
270 + accesskey="&social.sharePopup.undo.accesskey;" |
|
271 + command="Social:UnsharePage"/> |
265 + command="Social:UnsharePage"/> |
272 +#endif |
266 +#endif |
273 + </hbox> |
267 + </hbox> |
274 + </panel> |
268 + </panel> |
275 + |
269 + |
276 + <panel id="social-notification-panel" type="arrow" hidden="true" noautofocus="true"> |
270 + <panel id="social-notification-panel" |
277 + <box id="social-notification-box" flex="1"></box> |
271 + class="social-panel" |
278 + </panel> |
272 + type="arrow" |
|
273 + hidden="true" |
|
274 + consumeoutsideclicks="true" |
|
275 + noautofocus="true"/> |
279 + <panel id="social-flyout-panel" |
276 + <panel id="social-flyout-panel" |
|
277 + class="social-panel" |
280 + onpopupshown="SocialFlyout.onShown()" |
278 + onpopupshown="SocialFlyout.onShown()" |
281 + onpopuphidden="SocialFlyout.onHidden()" |
279 + onpopuphidden="SocialFlyout.onHidden()" |
282 + side="right" |
280 + side="right" |
283 + type="arrow" |
281 + type="arrow" |
284 + hidden="true" |
282 + hidden="true" |
667 + ondrop="homeButtonObserver.onDrop(event)" |
661 + ondrop="homeButtonObserver.onDrop(event)" |
668 + ondragexit="homeButtonObserver.onDragExit(event)" |
662 + ondragexit="homeButtonObserver.onDragExit(event)" |
669 + onclick="BrowserGoHome(event);" |
663 + onclick="BrowserGoHome(event);" |
670 + aboutHomeOverrideTooltip="&abouthome.pageTitle;"/> |
664 + aboutHomeOverrideTooltip="&abouthome.pageTitle;"/> |
671 + |
665 + |
672 + <toolbaritem id="social-toolbar-button" |
666 + <toolbaritem id="social-toolbar-item" |
673 + class="toolbarbutton-1 chromeclass-toolbar-additional" |
667 + class="chromeclass-toolbar-additional" |
674 + removable="false" |
668 + removable="false" |
675 + pack="center" |
|
676 + title="&socialToolbar.title;" |
669 + title="&socialToolbar.title;" |
677 + hidden="true"> |
670 + hidden="true"> |
678 + <hbox id="social-toolbar-button-box" class="social-statusarea-container"> |
671 + <toolbarbutton id="social-provider-button" |
679 + <button id="social-provider-image" type="menu"> |
672 + class="toolbarbutton-1" |
680 + <menupopup id="social-statusarea-popup"> |
673 + type="menu"> |
681 + <hbox id="social-statusarea-user" pack="left" align="center"> |
674 + <menupopup id="social-statusarea-popup"> |
682 + <image id="social-statusarea-user-portrait"/> |
675 + <menuitem id="social-statusarea-user" pack="start" align="center" class="menuitem-iconic" |
683 + <vbox> |
676 + onclick="SocialUI.showProfile(); document.getElementById('social-statusarea-popup').hidePopup();"> |
684 + <label id="social-statusarea-notloggedin" |
677 + <image id="social-statusarea-user-portrait"/> |
685 + value="&social.notLoggedIn.label;"/> |
678 + <vbox> |
686 + <button id="social-statusarea-username" |
679 + <label id="social-statusarea-notloggedin" |
687 + oncommand="SocialUI.showProfile(); document.getElementById('social-statusarea-popup').hidePopup();"/> |
680 + value="&social.notLoggedIn.label;"/> |
688 + </vbox> |
681 + <label id="social-statusarea-username"/> |
689 + </hbox> |
682 + </vbox> |
690 + <menuitem id="social-toggle-sidebar-menuitem" |
683 + </menuitem> |
691 + type="checkbox" |
684 +#ifndef XP_WIN |
692 + autocheck="false" |
685 + <menuseparator/> |
693 + command="Social:ToggleSidebar" |
686 +#endif |
694 + label="&social.toggleSidebar.label;" |
687 + <menuitem id="social-toggle-sidebar-menuitem" |
695 + accesskey="&social.toggleSidebar.accesskey;"/> |
688 + type="checkbox" |
696 + </menupopup> |
689 + autocheck="false" |
697 + </button> |
690 + command="Social:ToggleSidebar" |
698 + <hbox id="social-status-iconbox" flex="1"> |
691 + label="&social.toggleSidebar.label;" |
699 + </hbox> |
692 + accesskey="&social.toggleSidebar.accesskey;"/> |
700 + </hbox> |
693 + <menuitem id="social-toggle-notifications-menuitem" |
|
694 + type="checkbox" |
|
695 + autocheck="false" |
|
696 + command="Social:ToggleNotifications" |
|
697 + label="&social.toggleNotifications.label;" |
|
698 + accesskey="&social.toggleNotifications.accesskey;"/> |
|
699 + </menupopup> |
|
700 + </toolbarbutton> |
701 + </toolbaritem> |
701 + </toolbaritem> |
702 + |
702 + |
703 + <toolbaritem id="bookmarks-menu-button-container" |
703 + <toolbaritem id="bookmarks-menu-button-container" |
704 + class="chromeclass-toolbar-additional" |
704 + class="chromeclass-toolbar-additional" |
705 + removable="true" |
705 + removable="true" |
1068 + <splitter id="devtools-side-splitter" hidden="true"/> |
1068 + <splitter id="devtools-side-splitter" hidden="true"/> |
1069 + <vbox id="devtools-sidebar-box" hidden="true" |
1069 + <vbox id="devtools-sidebar-box" hidden="true" |
1070 + style="min-width: 18em; width: 22em; max-width: 42em;" persist="width"> |
1070 + style="min-width: 18em; width: 22em; max-width: 42em;" persist="width"> |
1071 + <toolbar id="devtools-sidebar-toolbar" |
1071 + <toolbar id="devtools-sidebar-toolbar" |
1072 + class="devtools-toolbar" |
1072 + class="devtools-toolbar" |
1073 + nowindowdrag="true"/> |
1073 + nowindowdrag="true"> |
|
1074 + <spacer flex="1"/> |
|
1075 + <toolbarbutton tooltiptext="&inspectSidebarCloseButton.tooltiptext;" |
|
1076 + class="devtools-closebutton" |
|
1077 + command="Inspector:Sidebar"/> |
|
1078 + </toolbar> |
1074 + <deck id="devtools-sidebar-deck" flex="1"/> |
1079 + <deck id="devtools-sidebar-deck" flex="1"/> |
1075 + </vbox> |
1080 + </vbox> |
1076 + <splitter id="social-sidebar-splitter" |
1081 + <splitter id="social-sidebar-splitter" |
1077 + class="chromeclass-extrachrome sidebar-splitter" |
1082 + class="chromeclass-extrachrome sidebar-splitter" |
1078 + observes="socialSidebarBroadcaster"/> |
1083 + observes="socialSidebarBroadcaster"/> |