40 +# Robert Strong <robert.bugzilla@gmail.com> |
40 +# Robert Strong <robert.bugzilla@gmail.com> |
41 +# Rob Campbell <rcampbell@mozilla.com> |
41 +# Rob Campbell <rcampbell@mozilla.com> |
42 +# Patrick Walton <pcwalton@mozilla.com> |
42 +# Patrick Walton <pcwalton@mozilla.com> |
43 +# David Dahl <ddahl@mozilla.com> |
43 +# David Dahl <ddahl@mozilla.com> |
44 +# Frank Yan <fyan@mozilla.com> |
44 +# Frank Yan <fyan@mozilla.com> |
|
45 +# Victor Porof <vporof@mozilla.com> |
45 +# |
46 +# |
46 +# Alternatively, the contents of this file may be used under the terms of |
47 +# Alternatively, the contents of this file may be used under the terms of |
47 +# either the GNU General Public License Version 2 or later (the "GPL"), or |
48 +# either the GNU General Public License Version 2 or later (the "GPL"), or |
48 +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
49 +# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
49 +# in which case the provisions of the GPL or the LGPL are applicable instead |
50 +# in which case the provisions of the GPL or the LGPL are applicable instead |
57 +# |
58 +# |
58 +# ***** END LICENSE BLOCK ***** |
59 +# ***** END LICENSE BLOCK ***** |
59 + |
60 + |
60 +<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> |
61 +<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?> |
61 +<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?> |
62 +<?xml-stylesheet href="chrome://browser/content/places/places.css" type="text/css"?> |
62 +<?xml-stylesheet href="chrome://global/skin/webConsole.css" type="text/css"?> |
63 +<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?> |
|
64 +<?xml-stylesheet href="chrome://browser/skin/devtools/webconsole.css" type="text/css"?> |
63 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
65 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
64 + |
66 + |
65 +<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?> |
67 +<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?> |
66 +<?xul-overlay href="chrome://browser/content/baseMenuOverlay.xul"?> |
68 +<?xul-overlay href="chrome://browser/content/baseMenuOverlay.xul"?> |
67 +<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?> |
69 +<?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?> |
282 + return true; |
284 + return true; |
283 + gContextMenu = new nsContextMenu(this, gBrowser, event.shiftKey); |
285 + gContextMenu = new nsContextMenu(this, gBrowser, event.shiftKey); |
284 + if (gContextMenu.shouldDisplay) |
286 + if (gContextMenu.shouldDisplay) |
285 + updateEditUIVisibility(); |
287 + updateEditUIVisibility(); |
286 + return gContextMenu.shouldDisplay;" |
288 + return gContextMenu.shouldDisplay;" |
287 + onpopuphiding="if (event.target == this) { gContextMenu = null; updateEditUIVisibility(); }"> |
289 + onpopuphiding="if (event.target != this) |
|
290 + return; |
|
291 + gContextMenu.hiding(); |
|
292 + gContextMenu = null; |
|
293 + updateEditUIVisibility();"> |
288 +#include browser-context.inc |
294 +#include browser-context.inc |
289 + </menupopup> |
295 + </menupopup> |
290 + |
296 + |
291 + <menupopup id="placesContext"/> |
297 + <menupopup id="placesContext"/> |
292 + |
298 + |
515 + newlines="stripsurroundingwhitespace" |
521 + newlines="stripsurroundingwhitespace" |
516 + oninput="gBrowser.userTypedValue = this.value;" |
522 + oninput="gBrowser.userTypedValue = this.value;" |
517 + ontextentered="this.handleCommand(param);" |
523 + ontextentered="this.handleCommand(param);" |
518 + ontextreverted="return this.handleRevert();" |
524 + ontextreverted="return this.handleRevert();" |
519 + pageproxystate="invalid" |
525 + pageproxystate="invalid" |
520 + onsearchbegin="LocationBarHelpers._searchBegin();" |
|
521 + onsearchcomplete="LocationBarHelpers._searchComplete();" |
|
522 + onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'" |
526 + onfocus="document.getElementById('identity-box').style.MozUserFocus= 'normal'" |
523 + onblur="setTimeout(function() document.getElementById('identity-box').style.MozUserFocus = '', 0);"> |
527 + onblur="setTimeout(function() document.getElementById('identity-box').style.MozUserFocus = '', 0);"> |
524 + <box id="notification-popup-box" hidden="true" align="center"> |
528 + <box id="notification-popup-box" hidden="true" align="center"> |
525 + <image id="default-notification-icon" class="notification-anchor-icon" role="button"/> |
529 + <image id="default-notification-icon" class="notification-anchor-icon" role="button"/> |
526 + <image id="geo-notification-icon" class="notification-anchor-icon" role="button"/> |
530 + <image id="geo-notification-icon" class="notification-anchor-icon" role="button"/> |
537 + onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);" |
541 + onkeypress="gIdentityHandler.handleIdentityButtonEvent(event);" |
538 + ondragstart="gIdentityHandler.onDragStart(event);"> |
542 + ondragstart="gIdentityHandler.onDragStart(event);"> |
539 + <hbox id="identity-box-inner" align="center"> |
543 + <hbox id="identity-box-inner" align="center"> |
540 + <stack id="page-proxy-stack" |
544 + <stack id="page-proxy-stack" |
541 + onclick="PageProxyClickHandler(event);"> |
545 + onclick="PageProxyClickHandler(event);"> |
542 + <image id="urlbar-throbber" busy="false"/> |
|
543 + <image id="page-proxy-favicon" validate="never" |
546 + <image id="page-proxy-favicon" validate="never" |
544 + pageproxystate="invalid" |
547 + pageproxystate="invalid" |
545 + onerror="this.removeAttribute('src');"/> |
548 + onerror="this.removeAttribute('src');"/> |
546 + </stack> |
549 + </stack> |
547 + <hbox id="identity-icon-labels"> |
550 + <hbox id="identity-icon-labels"> |
972 + <statuspanel id="statusbar-display" inactive="true"/> |
975 + <statuspanel id="statusbar-display" inactive="true"/> |
973 + </vbox> |
976 + </vbox> |
974 + <splitter id="devtools-side-splitter" hidden="true"/> |
977 + <splitter id="devtools-side-splitter" hidden="true"/> |
975 + <vbox id="devtools-sidebar-box" hidden="true" |
978 + <vbox id="devtools-sidebar-box" hidden="true" |
976 + style="min-width: 18em; width: 22em; max-width: 42em;" persist="width"> |
979 + style="min-width: 18em; width: 22em; max-width: 42em;" persist="width"> |
977 + <toolbar id="devtools-sidebar-toolbar" nowindowdrag="true"/> |
980 + <toolbar id="devtools-sidebar-toolbar" |
|
981 + class="devtools-toolbar" |
|
982 + nowindowdrag="true"/> |
978 + <deck id="devtools-sidebar-deck" flex="1"/> |
983 + <deck id="devtools-sidebar-deck" flex="1"/> |
979 + </vbox> |
984 + </vbox> |
980 + <vbox id="browser-border-end" hidden="true" layer="true"/> |
985 + <vbox id="browser-border-end" hidden="true" layer="true"/> |
981 + </hbox> |
986 + </hbox> |
982 + |
987 + |
983 + <hbox id="full-screen-warning-container" hidden="true" fadeout="true"> |
988 + <hbox id="full-screen-warning-container" hidden="true" fadeout="true"> |
984 + <hbox style="min-width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. --> |
989 + <hbox style="width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. --> |
985 + <hbox id="full-screen-warning-message"> |
990 + <hbox id="full-screen-warning-message"> |
986 + <description id="full-screen-warning-text" value="&domFullScreenWarning.label;"></description> |
991 + <description id="full-screen-warning-text" value="&domFullScreenWarning.label;"></description> |
987 + </hbox> |
992 + </hbox> |
988 + </hbox> |
993 + </hbox> |
989 + </hbox> |
994 + </hbox> |
990 + |
995 + |
991 + <vbox id="browser-bottombox" layer="true"> |
996 + <vbox id="browser-bottombox" layer="true"> |
992 + <toolbar id="inspector-toolbar" |
997 + <toolbar id="inspector-toolbar" |
|
998 + class="devtools-toolbar" |
993 + nowindowdrag="true" |
999 + nowindowdrag="true" |
994 + hidden="true"> |
1000 + hidden="true"> |
995 + <vbox flex="1"> |
1001 + <vbox flex="1"> |
996 + <resizer id="inspector-top-resizer" flex="1" |
1002 + <resizer id="inspector-top-resizer" flex="1" |
997 + class="inspector-resizer" |
1003 + class="inspector-resizer" |
1002 + <toolbarbutton id="highlighter-closebutton" |
1008 + <toolbarbutton id="highlighter-closebutton" |
1003 + oncommand="InspectorUI.closeInspectorUI(false);" |
1009 + oncommand="InspectorUI.closeInspectorUI(false);" |
1004 + tooltiptext="&inspectCloseButton.tooltiptext;"/> |
1010 + tooltiptext="&inspectCloseButton.tooltiptext;"/> |
1005 +#endif |
1011 +#endif |
1006 + <toolbarbutton id="inspector-inspect-toolbutton" |
1012 + <toolbarbutton id="inspector-inspect-toolbutton" |
|
1013 + class="devtools-toolbarbutton" |
1007 + label="&inspectButton.label;" |
1014 + label="&inspectButton.label;" |
1008 + accesskey="&inspectButton.accesskey;" |
1015 + accesskey="&inspectButton.accesskey;" |
1009 + command="Inspector:Inspect"/> |
1016 + command="Inspector:Inspect"/> |
1010 + <arrowscrollbox id="inspector-breadcrumbs" |
1017 + <arrowscrollbox id="inspector-breadcrumbs" |
1011 + flex="1" orient="horizontal" |
1018 + flex="1" orient="horizontal" |
1012 + clicktoscroll="true"/> |
1019 + clicktoscroll="true"/> |
1013 + <hbox id="inspector-tools"> |
1020 + <hbox id="inspector-tools"> |
|
1021 + <toolbarbutton id="inspector-3D-button" |
|
1022 + class="devtools-toolbarbutton" |
|
1023 + hidden="true" |
|
1024 + label="&inspect3DButton.label;" |
|
1025 + accesskey="&inspect3DButton.accesskey;" |
|
1026 + command="Inspector:Tilt"/> |
1014 + <toolbarbutton id="inspector-style-button" |
1027 + <toolbarbutton id="inspector-style-button" |
|
1028 + class="devtools-toolbarbutton" |
1015 + label="&inspectStyleButton.label;" |
1029 + label="&inspectStyleButton.label;" |
1016 + accesskey="&inspectStyleButton.accesskey;" |
1030 + accesskey="&inspectStyleButton.accesskey;" |
1017 + command="Inspector:Sidebar"/> |
1031 + command="Inspector:Sidebar"/> |
1018 + <!-- registered tools go here --> |
1032 + <!-- registered tools go here --> |
1019 + </hbox> |
1033 + </hbox> |