1 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul |
1 diff --git a/browser/base/content/browser-kde.xul b/browser/base/content/browser-kde.xul |
2 new file mode 100644 |
2 new file mode 100644 |
3 --- /dev/null |
3 --- /dev/null |
4 +++ b/browser/base/content/browser-kde.xul |
4 +++ b/browser/base/content/browser-kde.xul |
5 @@ -0,0 +1,1116 @@ |
5 @@ -0,0 +1,1126 @@ |
6 +#filter substitution |
6 +#filter substitution |
7 +<?xml version="1.0"?> |
7 +<?xml version="1.0"?> |
8 +# -*- Mode: HTML -*- |
8 +# -*- Mode: HTML -*- |
9 +# |
9 +# |
10 +# ***** BEGIN LICENSE BLOCK ***** |
10 +# This Source Code Form is subject to the terms of the Mozilla Public |
11 +# Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
11 +# License, v. 2.0. If a copy of the MPL was not distributed with this |
12 +# |
12 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. |
13 +# The contents of this file are subject to the Mozilla Public License Version |
|
14 +# 1.1 (the "License"); you may not use this file except in compliance with |
|
15 +# the License. You may obtain a copy of the License at |
|
16 +# http://www.mozilla.org/MPL/ |
|
17 +# |
|
18 +# Software distributed under the License is distributed on an "AS IS" basis, |
|
19 +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
|
20 +# for the specific language governing rights and limitations under the |
|
21 +# License. |
|
22 +# |
|
23 +# The Original Code is Mozilla Communicator client code, released |
|
24 +# March 31, 1998. |
|
25 +# |
|
26 +# The Initial Developer of the Original Code is |
|
27 +# Netscape Communications Corporation. |
|
28 +# Portions created by the Initial Developer are Copyright (C) 1998-2000 |
|
29 +# the Initial Developer. All Rights Reserved. |
|
30 +# |
|
31 +# Contributor(s): |
|
32 +# Blake Ross <blake@cs.stanford.edu> |
|
33 +# David Hyatt <hyatt@mozilla.org> |
|
34 +# Joe Hewitt <hewitt@netscape.com> |
|
35 +# Pierre Chanial <chanial@noos.fr> |
|
36 +# Dean Tessman <dean_tessman@hotmail.com> |
|
37 +# Johnathan Nightingale <johnath@mozilla.com> |
|
38 +# Dão Gottwald <dao@mozilla.com> |
|
39 +# Ehsan Akhgari <ehsan.akhgari@gmail.com> |
|
40 +# Robert Strong <robert.bugzilla@gmail.com> |
|
41 +# Rob Campbell <rcampbell@mozilla.com> |
|
42 +# Patrick Walton <pcwalton@mozilla.com> |
|
43 +# David Dahl <ddahl@mozilla.com> |
|
44 +# Frank Yan <fyan@mozilla.com> |
|
45 +# Victor Porof <vporof@mozilla.com> |
|
46 +# Paul Rouget <paul@mozilla.com> |
|
47 +# |
|
48 +# Alternatively, the contents of this file may be used under the terms of |
|
49 +# either the GNU General Public License Version 2 or later (the "GPL"), or |
|
50 +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
|
51 +# in which case the provisions of the GPL or the LGPL are applicable instead |
|
52 +# of those above. If you wish to allow use of your version of this file only |
|
53 +# under the terms of either the GPL or the LGPL, and not to allow others to |
|
54 +# use your version of this file under the terms of the MPL, indicate your |
|
55 +# decision by deleting the provisions above and replace them with the notice |
|
56 +# and other provisions required by the GPL or the LGPL. If you do not delete |
|
57 +# the provisions above, a recipient may use your version of this file under |
|
58 +# the terms of any one of the MPL, the GPL or the LGPL. |
|
59 +# |
|
60 +# ***** END LICENSE BLOCK ***** |
|
61 + |
13 + |
62 +<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> |
14 +<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> |
63 +<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?> |
15 +<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?> |
64 +<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?> |
16 +<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?> |
65 +<?xml-stylesheet href="chrome://browser/skin/devtools/webconsole.css" type="text/css"?> |
17 +<?xml-stylesheet href="chrome://browser/skin/devtools/webconsole.css" type="text/css"?> |
988 + <vbox id="browser-border-end" hidden="true" layer="true"/> |
943 + <vbox id="browser-border-end" hidden="true" layer="true"/> |
989 + </hbox> |
944 + </hbox> |
990 + |
945 + |
991 + <hbox id="full-screen-warning-container" hidden="true" fadeout="true"> |
946 + <hbox id="full-screen-warning-container" hidden="true" fadeout="true"> |
992 + <hbox style="width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. --> |
947 + <hbox style="width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. --> |
993 + <hbox id="full-screen-warning-message"> |
948 + <vbox id="full-screen-warning-message" align="center"> |
994 + <description id="full-screen-warning-text" value="&domFullScreenWarning.label;"></description> |
949 + <description id="full-screen-domain-text"/> |
995 + </hbox> |
950 + <description class="full-screen-description" value="&fullscreenExitHint.value;"/> |
|
951 + <vbox id="full-screen-approval-pane" align="center"> |
|
952 + <description class="full-screen-description" value="&fullscreenApproval.value;"/> |
|
953 + <hbox> |
|
954 + <button label="&fullscreenAllowButton.label;" |
|
955 + oncommand="FullScreen.setFullscreenAllowed(true);" |
|
956 + class="full-screen-approval-button"/> |
|
957 + <button label="&fullscreenExitButton.label;" |
|
958 + oncommand="FullScreen.setFullscreenAllowed(false);" |
|
959 + class="full-screen-approval-button"/> |
|
960 + </hbox> |
|
961 + <checkbox id="full-screen-remember-decision"/> |
|
962 + </vbox> |
|
963 + </vbox> |
996 + </hbox> |
964 + </hbox> |
997 + </hbox> |
965 + </hbox> |
998 + |
966 + |
999 + <vbox id="browser-bottombox" layer="true"> |
967 + <vbox id="browser-bottombox" layer="true"> |
1000 + <toolbar id="inspector-toolbar" |
968 + <toolbar id="inspector-toolbar" |
1001 + class="devtools-toolbar" |
969 + class="devtools-toolbar" |
1002 + nowindowdrag="true" |
970 + nowindowdrag="true" |
1003 + hidden="true"> |
971 + hidden="true"> |
1004 +#ifdef XP_MACOSX |
972 +#ifdef XP_MACOSX |
1005 + <toolbarbutton id="highlighter-closebutton" |
973 + <toolbarbutton id="highlighter-closebutton" |
|
974 + class="devtools-closebutton" |
1006 + oncommand="InspectorUI.closeInspectorUI(false);" |
975 + oncommand="InspectorUI.closeInspectorUI(false);" |
1007 + tooltiptext="&inspectCloseButton.tooltiptext;"/> |
976 + tooltiptext="&inspectCloseButton.tooltiptext;"/> |
1008 +#endif |
977 +#endif |
|
978 + <toolbarbutton id="inspector-option-toolbarbutton" |
|
979 + type="menu" |
|
980 + tabindex="0" |
|
981 + tooltiptext="&inspectOptionButton.tooltiptext;"> |
|
982 + <menupopup id="inspector-option-popup" |
|
983 + position="before_start"> |
|
984 + <menuitem id="inspectorToggleVeil" |
|
985 + type="checkbox" |
|
986 + label="&inspectorToggleVeil.label;" |
|
987 + accesskey="&inspectorToggleVeil.accesskey;" |
|
988 + command="Inspector:ToggleVeil"/> |
|
989 + <menuitem id="inspectorToggleInfobar" |
|
990 + type="checkbox" |
|
991 + label="&inspectorToggleInfobar.label;" |
|
992 + accesskey="&inspectorToggleInfobar.accesskey;" |
|
993 + command="Inspector:ToggleInfobar"/> |
|
994 + </menupopup> |
|
995 + </toolbarbutton> |
1009 + <toolbarbutton id="inspector-inspect-toolbutton" |
996 + <toolbarbutton id="inspector-inspect-toolbutton" |
1010 + class="devtools-toolbarbutton" |
997 + class="devtools-toolbarbutton" |
1011 + command="Inspector:Inspect"/> |
998 + command="Inspector:Inspect"/> |
1012 + <toolbarbutton id="inspector-treepanel-toolbutton" |
999 + <toolbarbutton id="inspector-treepanel-toolbutton" |
1013 + class="devtools-toolbarbutton" |
1000 + class="devtools-toolbarbutton" |
1014 + label="&htmlPanel.label;" |
1001 + tabindex="0" |
1015 + accesskey="&htmlPanel.accesskey;" |
1002 + aria-label="&markupButton.arialabel;" |
1016 + tooltiptext="&htmlPanel.tooltiptext;" |
1003 + accesskey="&markupButton.accesskey;" |
1017 + command="Inspector:HTMLPanel"/> |
1004 + command="Inspector:HTMLPanel"/> |
1018 + <arrowscrollbox id="inspector-breadcrumbs" |
1005 + <arrowscrollbox id="inspector-breadcrumbs" |
1019 + flex="1" orient="horizontal" |
1006 + flex="1" orient="horizontal" |
1020 + clicktoscroll="true"/> |
1007 + clicktoscroll="true"/> |
1021 + <hbox id="inspector-tools"> |
1008 + <hbox id="inspector-tools"> |
1022 + <toolbarbutton id="inspector-3D-button" |
1009 + <toolbarbutton id="inspector-3D-button" |
1023 + class="devtools-toolbarbutton" |
1010 + class="devtools-toolbarbutton" |
1024 + hidden="true" |
1011 + hidden="true" |
1025 + label="&inspect3DViewButton.label;" |
1012 + label="&inspect3DViewButton.label;" |
1026 + accesskey="&inspect3DViewButton.accesskey;" |
1013 + accesskey="&inspect3DViewButton.accesskey;" |
|
1014 + tabindex="0" |
1027 + command="Inspector:Tilt"/> |
1015 + command="Inspector:Tilt"/> |
1028 + <toolbarbutton id="inspector-style-button" |
1016 + <toolbarbutton id="inspector-style-button" |
1029 + class="devtools-toolbarbutton" |
1017 + class="devtools-toolbarbutton" |
1030 + label="&inspectStyleButton.label;" |
1018 + label="&inspectStyleButton.label;" |
1031 + accesskey="&inspectStyleButton.accesskey;" |
1019 + accesskey="&inspectStyleButton.accesskey;" |
|
1020 + tabindex="0" |
1032 + command="Inspector:Sidebar"/> |
1021 + command="Inspector:Sidebar"/> |
1033 + <!-- registered tools go here --> |
1022 + <!-- registered tools go here --> |
1034 + </hbox> |
1023 + </hbox> |
1035 +#ifndef XP_MACOSX |
1024 +#ifndef XP_MACOSX |
1036 + <toolbarbutton id="highlighter-closebutton" |
1025 + <toolbarbutton id="highlighter-closebutton" |
|
1026 + class="devtools-closebutton" |
1037 + oncommand="InspectorUI.closeInspectorUI(false);" |
1027 + oncommand="InspectorUI.closeInspectorUI(false);" |
1038 + tooltiptext="&inspectCloseButton.tooltiptext;"/> |
1028 + tooltiptext="&inspectCloseButton.tooltiptext;"/> |
1039 +#endif |
1029 +#endif |
1040 + </toolbar> |
1030 + </toolbar> |
|
1031 + |
|
1032 + <toolbar id="developer-toolbar" |
|
1033 + class="devtools-toolbar" |
|
1034 + hidden="true"> |
|
1035 +#ifdef XP_MACOSX |
|
1036 + <toolbarbutton id="developer-toolbar-closebutton" |
|
1037 + class="devtools-closebutton" |
|
1038 + oncommand="DeveloperToolbar.hide();" |
|
1039 + tooltiptext="&devToolbarCloseButton.tooltiptext;"/> |
|
1040 +#endif |
|
1041 + <stack class="gclitoolbar-stack-node" flex="1"> |
|
1042 + <hbox class="gclitoolbar-prompt"> |
|
1043 + <label class="gclitoolbar-prompt-label">»</label> |
|
1044 + </hbox> |
|
1045 + <hbox class="gclitoolbar-complete-node"/> |
|
1046 + <textbox class="gclitoolbar-input-node" rows="1"/> |
|
1047 + </stack> |
|
1048 + <toolbarbutton id="developer-toolbar-webconsole" |
|
1049 + label="&webConsoleButton.label;" |
|
1050 + class="devtools-toolbarbutton" |
|
1051 + command="Tools:WebConsole"/> |
|
1052 + <toolbarbutton id="developer-toolbar-inspector" |
|
1053 + label="&inspectorButton.label;" |
|
1054 + class="devtools-toolbarbutton" |
|
1055 + hidden="true" |
|
1056 + command="Tools:Inspect"/> |
|
1057 + <toolbarbutton id="developer-toolbar-responsiveui" |
|
1058 + label="&responsiveUI.label;" |
|
1059 + class="devtools-toolbarbutton" |
|
1060 + hidden="true" |
|
1061 + command="Tools:ResponsiveUI"/> |
|
1062 + <toolbarbutton id="developer-toolbar-debugger" |
|
1063 + label="&scriptsButton.label;" |
|
1064 + class="devtools-toolbarbutton" |
|
1065 + hidden="true" |
|
1066 + command="Tools:Debugger"/> |
|
1067 +#ifndef XP_MACOSX |
|
1068 + <toolbarbutton id="developer-toolbar-closebutton" |
|
1069 + class="devtools-closebutton" |
|
1070 + oncommand="DeveloperToolbar.hide();" |
|
1071 + tooltiptext="&devToolbarCloseButton.tooltiptext;"/> |
|
1072 +#endif |
|
1073 + </toolbar> |
|
1074 + |
1041 + <toolbar id="addon-bar" |
1075 + <toolbar id="addon-bar" |
1042 + toolbarname="&addonBarCmd.label;" accesskey="&addonBarCmd.accesskey;" |
1076 + toolbarname="&addonBarCmd.label;" accesskey="&addonBarCmd.accesskey;" |
1043 + collapsed="true" |
1077 + collapsed="true" |
1044 + class="toolbar-primary chromeclass-toolbar" |
1078 + class="toolbar-primary chromeclass-toolbar" |
1045 + context="toolbar-context-menu" toolboxid="navigator-toolbox" |
1079 + context="toolbar-context-menu" toolboxid="navigator-toolbox" |
1055 + </toolbar> |
1089 + </toolbar> |
1056 + </vbox> |
1090 + </vbox> |
1057 + |
1091 + |
1058 +#ifndef XP_UNIX |
1092 +#ifndef XP_UNIX |
1059 + <svg:svg height="0"> |
1093 + <svg:svg height="0"> |
1060 + <svg:mask id="winstripe-keyhole-forward-mask" maskContentUnits="objectBoundingBox"> |
1094 + <svg:clipPath id="winstripe-keyhole-forward-clip-path" clipPathUnits="objectBoundingBox"> |
1061 + <svg:rect x="0" y="0" width="1" height="1" fill="white"/> |
1095 + <svg:path d="M 0,0 C 0.16,0.11 0.28,0.29 0.28,0.5 0.28,0.71 0.16,0.89 0,1 L 1,1 1,0 0,0 z"/> |
1062 + <svg:circle cx="-0.34" cy="0.5" r="0.61"/> |
1096 + </svg:clipPath> |
1063 + </svg:mask> |
1097 + <svg:clipPath id="winstripe-urlbar-back-button-clip-path" clipPathUnits="userSpaceOnUse"> |
1064 + <svg:mask id="winstripe-urlbar-back-button-mask" maskContentUnits="userSpaceOnUse"> |
1098 + <svg:path d="M 0,0 0,7.8 C 2.5,11 4,14 4,18 4,22 2.5,25 0,28 l 0,22 10000,0 0,-50 L 0,0 z"/> |
1065 + <svg:rect x="0" y="0" width="10000" height="50" fill="white"/> |
1099 + </svg:clipPath> |
1066 + <svg:circle cx="-11" cy="13" r="15"/> |
|
1067 + </svg:mask> |
|
1068 + </svg:svg> |
1100 + </svg:svg> |
1069 +#endif |
1101 +#endif |
1070 +#ifdef XP_MACOSX |
1102 +#ifdef XP_MACOSX |
1071 + <svg:svg height="0"> |
1103 + <svg:svg height="0"> |
1072 + <svg:mask id="pinstripe-keyhole-forward-mask" maskContentUnits="objectBoundingBox"> |
1104 + <svg:clipPath id="pinstripe-keyhole-forward-clip-path" clipPathUnits="objectBoundingBox"> |
1073 + <svg:rect x="0" y="0" width="1" height="1" fill="white"/> |
1105 + <svg:path d="M 0,0 C 0.15,0.12 0.25,0.3 0.25,0.5 0.25,0.7 0.15,0.88 0,1 L 1,1 1,0 0,0 z"/> |
1074 + <svg:circle cx="-0.41" cy="0.5" r="0.65"/> |
1106 + </svg:clipPath> |
1075 + </svg:mask> |
1107 + <svg:clipPath id="pinstripe-urlbar-back-button-clip-path" clipPathUnits="userSpaceOnUse"> |
1076 + <svg:mask id="pinstripe-urlbar-back-button-mask" maskContentUnits="userSpaceOnUse"> |
1108 + <svg:path d="m 0,-5 0,4.03 C 3.6,1.8 6,6.1 6,11 6,16 3.6,20 0,23 l 0,27 10000,0 0,-55 L 0,-5 z"/> |
1077 + <svg:rect x="0" y="-5" width="10000" height="55" fill="white"/> |
1109 + </svg:clipPath> |
1078 + <svg:circle cx="-9" cy="11" r="15"/> |
1110 + <svg:clipPath id="pinstripe-tab-ontop-left-curve-clip-path" clipPathUnits="userSpaceOnUse"> |
1079 + </svg:mask> |
1111 + <svg:path d="M 9,0 C 7.3,0 6,1.3 6,3 l 0,14 c 0,3 -2.2,5 -5,5 l -1,0 0,1 12,0 0,-1 0,-19 0,-3 -3,0 z"/> |
1080 + <svg:mask id="pinstripe-tab-ontop-left-curve-mask" maskContentUnits="userSpaceOnUse"> |
1112 + </svg:clipPath> |
1081 + <svg:circle cx="9" cy="3" r="3" fill="white"/> |
1113 + <svg:clipPath id="pinstripe-tab-ontop-right-curve-clip-path" clipPathUnits="userSpaceOnUse"> |
1082 + <svg:rect x="9" y="0" width="3" height="3" fill="white"/> |
1114 + <svg:path d="m 0,0 0,3 0,19 0,1 12,0 0,-1 -1,0 C 8.2,22 6,20 6,17 L 6,3 C 6,1.3 4.7,0 3,0 L 0,0 z"/> |
1083 + <svg:rect x="6" y="3" width="6" height="19" fill="white"/> |
1115 + </svg:clipPath> |
1084 + <svg:rect x="1" y="17" width="5" height="5" fill="white"/> |
1116 + <svg:clipPath id="pinstripe-tab-onbottom-left-curve-clip-path" clipPathUnits="userSpaceOnUse"> |
1085 + <svg:circle cx="1" cy="17" r="5"/> |
1117 + <svg:path d="m 0,0 0,1 1,0 c 2.8,0 5,2.2 5,5 l 0,14 c 0,2 1.3,3 3,3 l 3,0 0,-3 L 12,1 12,0 0,0 z"/> |
1086 + <svg:rect x="0" y="22" width="12" height="1" fill="white"/> |
1118 + </svg:clipPath> |
1087 + </svg:mask> |
1119 + <svg:clipPath id="pinstripe-tab-onbottom-right-curve-clip-path" clipPathUnits="userSpaceOnUse"> |
1088 + <svg:mask id="pinstripe-tab-ontop-right-curve-mask" maskContentUnits="userSpaceOnUse"> |
1120 + <svg:path d="m 0,0 0,1 0,19 0,3 3,0 c 1.7,0 3,-1 3,-3 L 6,6 C 6,3.2 8.2,1 11,1 L 12,1 12,0 0,0 z"/> |
1089 + <svg:circle cx="3" cy="3" r="3" fill="white"/> |
1121 + </svg:clipPath> |
1090 + <svg:rect x="0" y="0" width="3" height="3" fill="white"/> |
|
1091 + <svg:rect x="0" y="3" width="6" height="19" fill="white"/> |
|
1092 + <svg:rect x="6" y="17" width="5" height="5" fill="white"/> |
|
1093 + <svg:circle cx="11" cy="17" r="5"/> |
|
1094 + <svg:rect x="0" y="22" width="12" height="1" fill="white"/> |
|
1095 + </svg:mask> |
|
1096 + <svg:mask id="pinstripe-tab-onbottom-left-curve-mask" maskContentUnits="userSpaceOnUse"> |
|
1097 + <svg:circle cx="9" cy="20" r="3" fill="white"/> |
|
1098 + <svg:rect x="9" y="20" width="3" height="3" fill="white"/> |
|
1099 + <svg:rect x="6" y="1" width="6" height="19" fill="white"/> |
|
1100 + <svg:rect x="1" y="1" width="5" height="5" fill="white"/> |
|
1101 + <svg:circle cx="1" cy="6" r="5"/> |
|
1102 + <svg:rect x="0" y="0" width="12" height="1" fill="white"/> |
|
1103 + </svg:mask> |
|
1104 + <svg:mask id="pinstripe-tab-onbottom-right-curve-mask" maskContentUnits="userSpaceOnUse"> |
|
1105 + <svg:circle cx="3" cy="20" r="3" fill="white"/> |
|
1106 + <svg:rect x="0" y="20" width="3" height="3" fill="white"/> |
|
1107 + <svg:rect x="0" y="1" width="6" height="19" fill="white"/> |
|
1108 + <svg:rect x="6" y="1" width="5" height="5" fill="white"/> |
|
1109 + <svg:circle cx="11" cy="6" r="5"/> |
|
1110 + <svg:rect x="0" y="0" width="12" height="1" fill="white"/> |
|
1111 + </svg:mask> |
|
1112 + </svg:svg> |
1122 + </svg:svg> |
1113 +#endif |
1123 +#endif |
1114 + |
1124 + |
1115 +</vbox> |
1125 +</vbox> |
1116 +# <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck. |
1126 +# <iframe id="tab-view"> is dynamically appended as the 2nd child of #tab-view-deck. |