1 # HG changeset patch |
1 # HG changeset patch |
2 # Parent 2bfd3982be72061c3f5879a5fbceb4c33f96a0cd |
2 # Parent ffcd96e120857e207bd357b2005f0b5bc776e375 |
3 |
3 |
4 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul |
4 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul |
5 new file mode 100644 |
5 new file mode 100644 |
6 --- /dev/null |
6 --- /dev/null |
7 +++ b/browser/base/content/browser-kde.xul |
7 +++ b/browser/base/content/browser-kde.xul |
8 @@ -0,0 +1,1248 @@ |
8 @@ -0,0 +1,1238 @@ |
9 +#filter substitution |
9 +#filter substitution |
10 +<?xml version="1.0"?> |
10 +<?xml version="1.0"?> |
11 +# -*- Mode: HTML -*- |
11 +# -*- Mode: HTML -*- |
12 +# |
12 +# |
13 +# This Source Code Form is subject to the terms of the Mozilla Public |
13 +# This Source Code Form is subject to the terms of the Mozilla Public |
284 + <toolbarbutton id="sidebar-switcher-bookmarks" |
284 + <toolbarbutton id="sidebar-switcher-bookmarks" |
285 + class="subviewbutton subviewbutton-iconic" |
285 + class="subviewbutton subviewbutton-iconic" |
286 + key="viewBookmarksSidebarKb" |
286 + key="viewBookmarksSidebarKb" |
287 + observes="viewBookmarksSidebar" |
287 + observes="viewBookmarksSidebar" |
288 + oncommand="SidebarUI.show('viewBookmarksSidebar');"> |
288 + oncommand="SidebarUI.show('viewBookmarksSidebar');"> |
289 + <observes element="viewBookmarksSidebar" attribute="checked"/> |
289 + <observes element="viewBookmarksSidebar" attribute="checked"/> |
290 + </toolbarbutton> |
290 + </toolbarbutton> |
291 + <toolbarbutton id="sidebar-switcher-history" |
291 + <toolbarbutton id="sidebar-switcher-history" |
292 + label="&historyButton.label;" |
292 + label="&historyButton.label;" |
293 + class="subviewbutton subviewbutton-iconic" |
293 + class="subviewbutton subviewbutton-iconic" |
294 + key="key_gotoHistory" |
294 + key="key_gotoHistory" |
295 + observes="viewHistorySidebar" |
295 + observes="viewHistorySidebar" |
296 + oncommand="SidebarUI.show('viewHistorySidebar');"> |
296 + oncommand="SidebarUI.show('viewHistorySidebar');"> |
297 + <observes element="viewHistorySidebar" attribute="checked"/> |
297 + <observes element="viewHistorySidebar" attribute="checked"/> |
298 + </toolbarbutton> |
298 + </toolbarbutton> |
299 + <toolbarbutton id="sidebar-switcher-tabs" |
299 + <toolbarbutton id="sidebar-switcher-tabs" |
300 + label="&syncedTabs.sidebar.label;" |
300 + label="&syncedTabs.sidebar.label;" |
301 + class="subviewbutton subviewbutton-iconic" |
301 + class="subviewbutton subviewbutton-iconic" |
302 + observes="viewTabsSidebar" |
302 + observes="viewTabsSidebar" |
303 + oncommand="SidebarUI.show('viewTabsSidebar');"> |
303 + oncommand="SidebarUI.show('viewTabsSidebar');"> |
304 + <observes element="viewTabsSidebar" attribute="checked"/> |
304 + <observes element="viewTabsSidebar" attribute="checked"/> |
305 + </toolbarbutton> |
305 + </toolbarbutton> |
306 + <toolbarseparator/> |
306 + <toolbarseparator/> |
307 + <vbox id="sidebar-extensions"></vbox> |
307 + <!-- Extension toolbarbuttons go here. --> |
308 + <toolbarseparator/> |
308 + <toolbarseparator id="sidebar-extensions-separator"/> |
309 + <toolbarbutton id="sidebar-reverse-position" |
309 + <toolbarbutton id="sidebar-reverse-position" |
310 + class="subviewbutton" |
310 + class="subviewbutton" |
311 + oncommand="SidebarUI.reversePosition()"/> |
311 + oncommand="SidebarUI.reversePosition()"/> |
312 + <toolbarseparator/> |
312 + <toolbarseparator/> |
313 + <toolbarbutton label="&sidebarMenuClose.label;" |
313 + <toolbarbutton label="&sidebarMenuClose.label;" |
423 + noautofocus="true" |
423 + noautofocus="true" |
424 + copyURL-title="&pageAction.copyLink.label;" |
424 + copyURL-title="&pageAction.copyLink.label;" |
425 + emailLink-title="&emailPageCmd.label;" |
425 + emailLink-title="&emailPageCmd.label;" |
426 + sendToDevice-title="&pageAction.sendTabToDevice.label;" |
426 + sendToDevice-title="&pageAction.sendTabToDevice.label;" |
427 + sendToDevice-notReadyTitle="&sendToDevice.syncNotReady.label;"> |
427 + sendToDevice-notReadyTitle="&sendToDevice.syncNotReady.label;"> |
428 + <photonpanelmultiview id="pageActionPanelMultiView" |
428 + <panelmultiview id="pageActionPanelMultiView" |
429 + mainViewId="pageActionPanelMainView" |
429 + mainViewId="pageActionPanelMainView" |
430 + viewCacheId="appMenu-viewCache"> |
430 + viewCacheId="appMenu-viewCache"> |
431 + <panelview id="pageActionPanelMainView" |
431 + <panelview id="pageActionPanelMainView" |
432 + context="pageActionContextMenu" |
432 + context="pageActionContextMenu" |
433 + class="PanelUI-subView"> |
433 + class="PanelUI-subView"> |
434 + <vbox class="panel-subview-body"/> |
434 + <vbox class="panel-subview-body"/> |
435 + </panelview> |
435 + </panelview> |
436 + </photonpanelmultiview> |
436 + </panelmultiview> |
437 + </panel> |
437 + </panel> |
438 + <panel id="pageActionFeedback" |
438 + <panel id="pageActionFeedback" |
439 + role="alert" |
439 + role="alert" |
440 + type="arrow" |
440 + type="arrow" |
441 + hidden="true" |
441 + hidden="true" |
442 + flip="slide" |
442 + flip="slide" |
443 + position="bottomcenter topright" |
443 + position="bottomcenter topright" |
444 + tabspecific="true" |
444 + tabspecific="true" |
445 + noautofocus="true" |
445 + noautofocus="true" |
446 + copyURLFeedback="©URLFeedback.label;" |
446 + copyURLFeedback="©URLFeedback.label;" |
447 + sendToDeviceFeedback="&sendToDeviceFeedback.label;"> |
447 + sendToDeviceFeedback="&sendToDeviceFeedback.label;" |
|
448 + sendToDeviceOfflineFeedback="&sendToDeviceOfflineFeedback.label;"> |
448 + <hbox id="pageActionFeedbackAnimatableBox"> |
449 + <hbox id="pageActionFeedbackAnimatableBox"> |
449 + <image id="pageActionFeedbackAnimatableImage"/> |
450 + <image id="pageActionFeedbackAnimatableImage"/> |
450 + </hbox> |
451 + </hbox> |
451 + <label id="pageActionFeedbackMessage"/> |
452 + <label id="pageActionFeedbackMessage"/> |
452 + </panel> |
453 + </panel> |
601 +#endif |
602 +#endif |
602 + </hbox> |
603 + </hbox> |
603 +</vbox> |
604 +</vbox> |
604 +#endif |
605 +#endif |
605 + |
606 + |
606 +<deck flex="1" id="tab-view-deck"> |
607 + <toolbox id="navigator-toolbox"> |
607 +<vbox flex="1" id="browser-panel"> |
|
608 + |
|
609 + <toolbox id="navigator-toolbox" mode="icons"> |
|
610 + <!-- Menu --> |
608 + <!-- Menu --> |
611 + <toolbar type="menubar" id="toolbar-menubar" class="chromeclass-menubar" customizable="true" |
609 + <toolbar type="menubar" id="toolbar-menubar" class="chromeclass-menubar" customizable="true" |
612 + mode="icons" iconsize="small" |
610 + mode="icons" |
613 +#ifdef MENUBAR_CAN_AUTOHIDE |
611 +#ifdef MENUBAR_CAN_AUTOHIDE |
614 + toolbarname="&menubarCmd.label;" |
612 + toolbarname="&menubarCmd.label;" |
615 + accesskey="&menubarCmd.accesskey;" |
613 + accesskey="&menubarCmd.accesskey;" |
616 + autohide="true" |
614 + autohide="true" |
617 +#endif |
615 +#endif |
716 + </toolbar> |
713 + </toolbar> |
717 + |
714 + |
718 + <toolbar id="nav-bar" |
715 + <toolbar id="nav-bar" |
719 + aria-label="&navbarCmd.label;" |
716 + aria-label="&navbarCmd.label;" |
720 + fullscreentoolbar="true" mode="icons" customizable="true" |
717 + fullscreentoolbar="true" mode="icons" customizable="true" |
721 + iconsize="small" |
|
722 + customizationtarget="nav-bar-customization-target" |
718 + customizationtarget="nav-bar-customization-target" |
723 + overflowable="true" |
719 + overflowable="true" |
724 + overflowbutton="nav-bar-overflow-button" |
720 + overflowbutton="nav-bar-overflow-button" |
725 + overflowtarget="widget-overflow-list" |
721 + overflowtarget="widget-overflow-list" |
726 + overflowpanel="widget-overflow" |
722 + overflowpanel="widget-overflow" |
820 + tooltiptext="&urlbar.screenBlocked.tooltip;"/> |
816 + tooltiptext="&urlbar.screenBlocked.tooltip;"/> |
821 + <image data-permission-id="persistent-storage" class="blocked-permission-icon persistent-storage-icon" role="button" |
817 + <image data-permission-id="persistent-storage" class="blocked-permission-icon persistent-storage-icon" role="button" |
822 + tooltiptext="&urlbar.persistentStorageBlocked.tooltip;"/> |
818 + tooltiptext="&urlbar.persistentStorageBlocked.tooltip;"/> |
823 + <image data-permission-id="popup" class="blocked-permission-icon popup-icon" role="button" |
819 + <image data-permission-id="popup" class="blocked-permission-icon popup-icon" role="button" |
824 + tooltiptext="&urlbar.popupBlocked.tooltip;"/> |
820 + tooltiptext="&urlbar.popupBlocked.tooltip;"/> |
|
821 + <image data-permission-id="canvas" class="blocked-permission-icon canvas-icon" role="button" |
|
822 + tooltiptext="&urlbar.canvasBlocked.tooltip;"/> |
825 + </box> |
823 + </box> |
826 + <box id="notification-popup-box" |
824 + <box id="notification-popup-box" |
827 + hidden="true" |
825 + hidden="true" |
828 + onmouseover="document.getElementById('identity-box').classList.add('no-hover');" |
826 + onmouseover="document.getElementById('identity-box').classList.add('no-hover');" |
829 + onmouseout="document.getElementById('identity-box').classList.remove('no-hover');" |
827 + onmouseout="document.getElementById('identity-box').classList.remove('no-hover');" |
934 + hidden="true" |
932 + hidden="true" |
935 + tooltip="dynamic-shortcut-tooltip"/> |
933 + tooltip="dynamic-shortcut-tooltip"/> |
936 + |
934 + |
937 + <toolbarbutton id="library-button" class="toolbarbutton-1 chromeclass-toolbar-additional subviewbutton-nav" |
935 + <toolbarbutton id="library-button" class="toolbarbutton-1 chromeclass-toolbar-additional subviewbutton-nav" |
938 + removable="true" |
936 + removable="true" |
939 + onmousedown="PanelUI.showSubView('appMenu-libraryView', this, null, event);" |
937 + onmousedown="PanelUI.showSubView('appMenu-libraryView', this, event);" |
940 + closemenu="none" |
938 + closemenu="none" |
941 + cui-areatype="toolbar" |
939 + cui-areatype="toolbar" |
942 + tooltiptext="&libraryButton.tooltip;" |
940 + tooltiptext="&libraryButton.tooltip;" |
943 + label="&places.library.title;"/> |
941 + label="&places.library.title;"/> |
944 + |
942 + |
981 + tooltiptext="&fullScreenClose.tooltip;" |
979 + tooltiptext="&fullScreenClose.tooltip;" |
982 + oncommand="BrowserTryToCloseWindow();"/> |
980 + oncommand="BrowserTryToCloseWindow();"/> |
983 + </hbox> |
981 + </hbox> |
984 + </toolbar> |
982 + </toolbar> |
985 + |
983 + |
986 + <toolbarset id="customToolbars" context="toolbar-context-menu"/> |
|
987 + |
|
988 + <toolbar id="PersonalToolbar" |
984 + <toolbar id="PersonalToolbar" |
989 + mode="icons" iconsize="small" |
985 + mode="icons" |
990 + class="chromeclass-directories" |
986 + class="chromeclass-directories" |
991 + context="toolbar-context-menu" |
987 + context="toolbar-context-menu" |
992 + toolbarname="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;" |
988 + toolbarname="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;" |
993 + collapsed="true" |
989 + collapsed="true" |
994 + customizable="true"> |
990 + customizable="true"> |
1244 + </html:div> |
1240 + </html:div> |
1245 + |
1241 + |
1246 + <vbox id="browser-bottombox" layer="true"> |
1242 + <vbox id="browser-bottombox" layer="true"> |
1247 + <notificationbox id="global-notificationbox" notificationside="bottom"/> |
1243 + <notificationbox id="global-notificationbox" notificationside="bottom"/> |
1248 + </vbox> |
1244 + </vbox> |
1249 + |
|
1250 +</vbox> |
|
1251 +# <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck. |
|
1252 +# Introducing the iframe dynamically, as needed, was found to be better than |
|
1253 +# starting with an empty iframe here in browser.xul from a Ts standpoint. |
|
1254 +</deck> |
|
1255 + |
1245 + |
1256 +</window> |
1246 +</window> |
1257 diff --git a/browser/base/jar.mn b/browser/base/jar.mn |
1247 diff --git a/browser/base/jar.mn b/browser/base/jar.mn |
1258 --- a/browser/base/jar.mn |
1248 --- a/browser/base/jar.mn |
1259 +++ b/browser/base/jar.mn |
1249 +++ b/browser/base/jar.mn |