2008-04-18 17:41:49 +04:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
|
|
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
-
|
|
|
|
- The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
- 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
- the License. You may obtain a copy of the License at
|
|
|
|
- http://www.mozilla.org/MPL/
|
|
|
|
-
|
|
|
|
- Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
- for the specific language governing rights and limitations under the
|
|
|
|
- License.
|
|
|
|
-
|
|
|
|
- The Original Code is Mozilla Mobile Browser.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is
|
|
|
|
- Mozilla Corporation.
|
|
|
|
- Portions created by the Initial Developer are Copyright (C) 2008
|
|
|
|
- the Initial Developer. All Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s):
|
|
|
|
- Brad Lassey <blassey@mozilla.com>
|
|
|
|
- Mark Finkle <mfinkle@mozila.com>
|
|
|
|
-
|
|
|
|
- Alternatively, the contents of this file may be used under the terms of
|
|
|
|
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
- in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
- of those above. If you wish to allow use of your version of this file only
|
|
|
|
- under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
- use your version of this file under the terms of the MPL, indicate your
|
|
|
|
- decision by deleting the provisions above and replace them with the notice
|
|
|
|
- and other provisions required by the LGPL or the GPL. If you do not delete
|
|
|
|
- the provisions above, a recipient may use your version of this file under
|
|
|
|
- the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
-
|
|
|
|
- ***** END LICENSE BLOCK ***** -->
|
|
|
|
|
2009-01-22 01:16:28 +03:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/platform.css" type="text/css"?>
|
2008-04-18 17:41:49 +04:00
|
|
|
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"?>
|
2008-07-16 19:41:38 +04:00
|
|
|
<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2008-06-20 21:33:34 +04:00
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
|
|
|
|
%browserDTD;
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
|
|
|
%brandDTD;
|
2008-09-07 10:54:06 +04:00
|
|
|
<!ENTITY % prefsDTD SYSTEM "chrome://browser/locale/preferences.dtd">
|
|
|
|
%prefsDTD;
|
2008-06-20 21:33:34 +04:00
|
|
|
]>
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2008-07-26 03:38:17 +04:00
|
|
|
<window id="main-window"
|
2008-04-18 17:41:49 +04:00
|
|
|
onload="Browser.startup();"
|
2009-04-23 04:47:02 +04:00
|
|
|
onunload="Browser.shutdown();"
|
2008-07-03 20:55:34 +04:00
|
|
|
windowtype="navigator:browser"
|
2008-07-26 03:38:17 +04:00
|
|
|
title="&brandShortName;"
|
|
|
|
titlemodifier="&brandShortName;"
|
|
|
|
titleseparator="&mainWindow.titleseparator;"
|
2009-02-20 23:51:34 +03:00
|
|
|
#ifdef WINCE
|
|
|
|
sizemode="maximized"
|
|
|
|
#elifdef MOZ_PLATFORM_HILDON
|
|
|
|
sizemode="maximized"
|
|
|
|
#else
|
|
|
|
width="800"
|
|
|
|
height="500"
|
|
|
|
#endif
|
2008-11-22 08:12:25 +03:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml">
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2009-03-20 02:20:32 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
|
2008-05-03 00:15:45 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/inlineSpellCheckUI.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/commandUtil.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/browser.js"/>
|
2008-07-04 10:16:46 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/browser-ui.js"/>
|
2008-09-07 10:54:06 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/sanitize.js"/>
|
2009-04-22 18:19:48 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/extensions.js"/>
|
2009-04-22 18:59:52 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/downloads.js"/>
|
2009-06-09 21:55:14 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/console.js"/>
|
2008-11-22 08:12:25 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/WidgetStack.js"/>
|
2009-01-29 22:51:57 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/CanvasBrowser.js"/>
|
2008-11-22 08:12:25 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/InputHandler.js"/>
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2008-06-21 01:01:42 +04:00
|
|
|
<stringbundleset id="stringbundleset">
|
2008-07-29 12:10:22 +04:00
|
|
|
<stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/>
|
|
|
|
<stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
|
2008-07-18 01:51:26 +04:00
|
|
|
</stringbundleset>
|
|
|
|
|
2009-01-21 20:28:25 +03:00
|
|
|
<commandset id="mainCommandSet">
|
2008-07-04 10:16:46 +04:00
|
|
|
<!-- basic navigation -->
|
|
|
|
<command id="cmd_back" label="&back.label;" disabled="true" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_forward" label="&forward.label;" disabled="true" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_reload" label="&reload.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_stop" label="&stop.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_search" label="&search.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_go" label="&go.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-11-13 05:40:57 +03:00
|
|
|
<command id="cmd_openLocation" label="&openLocation.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-07-04 10:16:46 +04:00
|
|
|
|
2008-07-25 22:10:35 +04:00
|
|
|
<!-- tabs -->
|
2008-07-24 22:50:32 +04:00
|
|
|
<command id="cmd_newTab" label="&newtab.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_closeTab" label="&closetab.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
|
2008-07-04 10:16:46 +04:00
|
|
|
<!-- bookmarking -->
|
|
|
|
<command id="cmd_star" label="&star.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_bookmarks" label="&bookmarks.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
|
|
|
|
<!-- misc -->
|
2009-03-20 02:20:32 +03:00
|
|
|
<command id="cmd_close" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_quit" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-07-09 05:24:49 +04:00
|
|
|
<command id="cmd_menu" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-04-18 17:41:49 +04:00
|
|
|
<command id="cmd_fullscreen" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-08-20 06:18:36 +04:00
|
|
|
<command id="cmd_actions" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-09-11 04:38:02 +04:00
|
|
|
<command id="cmd_panel" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-09-07 10:54:06 +04:00
|
|
|
<command id="cmd_sanitize" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-10-10 08:11:27 +04:00
|
|
|
<command id="cmd_zoomin" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_zoomout" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-07-04 10:16:46 +04:00
|
|
|
|
|
|
|
<!-- scrolling -->
|
2008-04-18 17:41:49 +04:00
|
|
|
<command id="cmd_scrollPageUp" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_scrollPageDown" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-07-04 10:16:46 +04:00
|
|
|
|
|
|
|
<!-- editing -->
|
2008-04-18 17:41:49 +04:00
|
|
|
<command id="cmd_cut" label="&cut.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_copy" label="©.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_copylink" label="©link.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_paste" label="&paste.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_delete" label="&delete.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
|
|
|
<command id="cmd_selectAll" label="&selectAll.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
|
2008-07-16 19:41:38 +04:00
|
|
|
|
2008-07-25 22:10:35 +04:00
|
|
|
<!-- find -->
|
2008-07-16 19:41:38 +04:00
|
|
|
<command id="cmd_find" oncommand="Browser.openFind(FINDSTATE_FIND);"/>
|
|
|
|
<command id="cmd_findAgain" oncommand="Browser.openFind(FINDSTATE_FIND_AGAIN);"/>
|
|
|
|
<command id="cmd_findPrevious" oncommand="Browser.openFind(FINDSTATE_FIND_PREVIOUS);"/>
|
2008-04-18 17:41:49 +04:00
|
|
|
</commandset>
|
|
|
|
|
|
|
|
<keyset id="mainKeyset">
|
2008-07-04 10:16:46 +04:00
|
|
|
<!-- basic navigation -->
|
2008-04-18 17:41:49 +04:00
|
|
|
<key id="key_back" keycode="VK_LEFT" command="cmd_back" modifiers="control"/>
|
|
|
|
<key id="key_forward" keycode="VK_RIGHT" command="cmd_forward" modifiers="control"/>
|
|
|
|
<key id="key_back2" keycode="VK_BACK" command="cmd_back"/>
|
|
|
|
<key id="key_forward2" keycode="VK_BACK" command="cmd_forward" modifiers="shift"/>
|
2009-01-14 03:33:41 +03:00
|
|
|
#ifndef MOZ_PLATFORM_HILDON
|
2008-04-18 17:41:49 +04:00
|
|
|
<key id="key_reload" keycode="VK_F5" command="cmd_reload"/>
|
2009-01-14 03:33:41 +03:00
|
|
|
#else
|
|
|
|
<!-- F5 on maemo is "home" which is a task switching key -->
|
|
|
|
#endif
|
2008-11-13 05:40:57 +03:00
|
|
|
<key id="key_focusURL" key="l" modifiers="accel" command="cmd_openLocation"/>
|
2008-04-18 17:41:49 +04:00
|
|
|
|
2008-07-04 10:16:46 +04:00
|
|
|
<!-- scrolling -->
|
2008-04-18 17:41:49 +04:00
|
|
|
<key id="key_pageUp" keycode="VK_UP" command="cmd_scrollPageUp" modifiers="shift"/>
|
|
|
|
<key id="key_pageDown" keycode="VK_DOWN" command="cmd_scrollPageDown" modifiers="shift"/>
|
|
|
|
|
2008-07-04 10:16:46 +04:00
|
|
|
<!-- misc -->
|
2009-03-20 02:20:32 +03:00
|
|
|
<key id="key_close" key="w" modifiers="accel" command="cmd_close"/>
|
|
|
|
<key id="key_quit" key="q" modifiers="accel" command="cmd_quit"/>
|
2008-07-09 05:24:49 +04:00
|
|
|
<key id="key_menu" keycode="VK_F4" command="cmd_menu"/>
|
2008-07-04 10:16:46 +04:00
|
|
|
<key id="key_fullscreen" keycode="VK_F6" command="cmd_fullscreen"/>
|
2008-10-10 08:11:27 +04:00
|
|
|
<key id="key_zoomin" keycode="VK_F7" command="cmd_zoomin"/>
|
|
|
|
<key id="key_zoomout" keycode="VK_F8" command="cmd_zoomout"/>
|
2008-07-16 19:41:38 +04:00
|
|
|
|
2008-07-25 22:10:35 +04:00
|
|
|
<!-- tabs -->
|
2008-08-20 01:50:10 +04:00
|
|
|
<key id="key_newTab" key="T" modifiers="accel" command="cmd_newTab"/>
|
|
|
|
<key id="key_closeTab" key="W" modifiers="accel" command="cmd_closeTab"/>
|
2008-07-25 22:10:35 +04:00
|
|
|
|
|
|
|
<!-- find -->
|
2008-07-16 19:41:38 +04:00
|
|
|
<key id="key_find" key="&findOnCmd.commandkey;" command="cmd_find" modifiers="accel"/>
|
|
|
|
<key id="key_findAgain" key="&findAgainCmd.commandkey;" command="cmd_findAgain" modifiers="accel"/>
|
2008-07-18 07:09:32 +04:00
|
|
|
<key id="key_findPrevious" key="&findAgainCmd.commandkey;" command="cmd_findPrevious" modifiers="accel shift"/>
|
2008-07-16 19:41:38 +04:00
|
|
|
<key keycode="&findAgainCmd.commandkey2;" command="cmd_findAgain"/>
|
|
|
|
<key keycode="&findAgainCmd.commandkey2;" command="cmd_findPrevious" modifiers="shift"/>
|
2008-04-18 17:41:49 +04:00
|
|
|
</keyset>
|
|
|
|
|
|
|
|
<popupset id="mainPopupSet">
|
|
|
|
</popupset>
|
2009-06-24 20:42:53 +04:00
|
|
|
|
2008-11-22 08:12:25 +03:00
|
|
|
<!-- stupid stack needs to be in a box. not sure why -->
|
2009-02-04 01:13:15 +03:00
|
|
|
<box>
|
2008-12-20 02:04:16 +03:00
|
|
|
<stack id="browser-container" flex="1">
|
2008-11-22 08:12:25 +03:00
|
|
|
|
|
|
|
<!-- begin: Browser View -->
|
|
|
|
<hbox id="canvasbox"
|
2008-11-26 01:56:20 +03:00
|
|
|
left="0" top="-480"
|
|
|
|
vptargetx="0"
|
|
|
|
vptargety="0"
|
|
|
|
vptargetw="800"
|
|
|
|
vptargeth="480"
|
|
|
|
viewport="true">
|
2008-11-22 08:12:25 +03:00
|
|
|
|
2008-12-10 00:43:20 +03:00
|
|
|
<html:canvas id="browser-canvas"
|
2008-11-26 01:56:20 +03:00
|
|
|
moz-opaque="true"
|
|
|
|
height="1440" width="800"
|
|
|
|
onnewtab="CommandUpdater.doCommand('cmd_newTab');"/>
|
2008-11-22 08:12:25 +03:00
|
|
|
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<!-- end: Browser View -->
|
|
|
|
|
|
|
|
<!-- begin: left bar -->
|
2009-06-08 23:59:34 +04:00
|
|
|
<vbox id="tabs-container" class="panel-dark"
|
2009-05-29 09:58:30 +04:00
|
|
|
left="0" top="0"
|
2008-11-22 08:12:25 +03:00
|
|
|
constraint="ignore-y,vp-relative">
|
2009-06-19 19:52:42 +04:00
|
|
|
<richlistbox id="tabs" onselect="BrowserUI.selectTab(this.selectedItem);" onclick="BrowserUI.hideTabs();" onclosetab="BrowserUI.closeTab(this)"/>
|
2009-02-18 08:23:29 +03:00
|
|
|
<hbox id="tabs-controls">
|
2009-05-29 09:58:30 +04:00
|
|
|
<toolbarbutton id="newtab-button" class="button-image" command="cmd_newTab"/>
|
2008-11-22 08:12:25 +03:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2008-11-25 23:15:39 +03:00
|
|
|
<!-- barrier to the right of the left sidebar -->
|
2009-06-08 23:59:34 +04:00
|
|
|
<spacer barriertype="vertical" size="30" left="0" constraint="vp-relative"/>
|
2008-11-22 08:12:25 +03:00
|
|
|
<!-- end: left bar -->
|
|
|
|
|
2008-11-25 23:15:39 +03:00
|
|
|
|
2008-11-22 08:12:25 +03:00
|
|
|
<!-- begin: right bar -->
|
2008-11-25 23:15:39 +03:00
|
|
|
<!-- barrier to the left of the right bar -->
|
2009-06-08 23:59:34 +04:00
|
|
|
<spacer barriertype="vertical" size="30" left="800" constraint="vp-relative"/>
|
|
|
|
<vbox id="browser-controls" class="panel-dark"
|
2009-05-29 09:58:30 +04:00
|
|
|
left="800" top="0"
|
2008-11-22 08:12:25 +03:00
|
|
|
constraint="ignore-y,vp-relative">
|
2009-05-29 09:58:30 +04:00
|
|
|
<toolbarbutton id="tool-star" class="browser-control-button button-image" command="cmd_star"/>
|
|
|
|
<toolbarbutton id="tool-back" class="browser-control-button button-image" command="cmd_back"/>
|
|
|
|
<toolbarbutton id="tool-forward" class="browser-control-button button-image" command="cmd_forward"/>
|
2008-11-22 08:12:25 +03:00
|
|
|
<toolbarspring/>
|
2009-05-29 09:58:30 +04:00
|
|
|
<toolbarbutton id="tool-panel-open" class="page-button button-image" command="cmd_panel"/>
|
2008-07-29 12:10:22 +04:00
|
|
|
</vbox>
|
2008-11-22 08:12:25 +03:00
|
|
|
<!-- end: right bar -->
|
2008-07-29 12:10:22 +04:00
|
|
|
|
2008-11-22 08:12:25 +03:00
|
|
|
<!-- begin: Main Toolbar -->
|
2009-06-08 23:59:34 +04:00
|
|
|
<toolbar id="toolbar-main" class="panel-dark" style="width: 800px;" top="0" left="0" constraint="ignore-x,vp-relative">
|
2008-08-19 23:19:47 +04:00
|
|
|
<hbox id="urlbar-container" flex="1">
|
|
|
|
<box id="identity-box"
|
|
|
|
onclick="getIdentityHandler().handleIdentityButtonEvent(event);"
|
|
|
|
onkeypress="getIdentityHandler().handleIdentityButtonEvent(event);">
|
2008-11-22 08:12:25 +03:00
|
|
|
<box id="urlbar-image-box">
|
2008-09-14 18:53:25 +04:00
|
|
|
<image id="urlbar-throbber"/>
|
2008-11-22 08:12:25 +03:00
|
|
|
<image id="urlbar-favicon" hidden="true"/>
|
|
|
|
</box>
|
2008-08-19 23:19:47 +04:00
|
|
|
</box>
|
2008-09-10 23:30:52 +04:00
|
|
|
<hbox id="urlbar-editarea" flex="1">
|
|
|
|
<textbox id="urlbar-edit"
|
|
|
|
type="autocomplete"
|
|
|
|
autocompletesearch="history"
|
2008-12-09 21:38:31 +03:00
|
|
|
autocompletepopup="popup_autocomplete"
|
2008-09-10 23:30:52 +04:00
|
|
|
enablehistory="false"
|
|
|
|
maxrows="6"
|
|
|
|
completeselectedindex="true"
|
2009-05-26 19:46:39 +04:00
|
|
|
minresultsforpopup="0"
|
2008-09-10 23:30:52 +04:00
|
|
|
flex="1"
|
|
|
|
ontextentered="BrowserUI.goToURI();"
|
|
|
|
clickSelectsAll="true"/>
|
|
|
|
</hbox>
|
2009-05-06 06:30:43 +04:00
|
|
|
<hbox id="urlbar-icons" mode="view">
|
2008-11-12 22:22:44 +03:00
|
|
|
<toolbarbutton id="tool-reload" class="urlbar-cap-button" command="cmd_reload"/>
|
|
|
|
<toolbarbutton id="tool-stop" class="urlbar-cap-button" command="cmd_stop"/>
|
|
|
|
<toolbarbutton id="tool-go" class="urlbar-cap-button" command="cmd_go"/>
|
2008-08-29 20:51:35 +04:00
|
|
|
</hbox>
|
2008-08-19 23:19:47 +04:00
|
|
|
</hbox>
|
2009-05-29 09:58:30 +04:00
|
|
|
<toolbarbutton id="tool-bookmarks" class="urlbar-button button-image" command="cmd_bookmarks"/>
|
2008-08-19 23:19:47 +04:00
|
|
|
</toolbar>
|
2008-11-22 08:12:25 +03:00
|
|
|
<!-- end: Main Toolbar -->
|
2008-08-19 23:19:47 +04:00
|
|
|
|
2009-06-08 23:59:34 +04:00
|
|
|
<notificationbox id="notifications" top="0" left="0"/>
|
2008-12-22 21:25:52 +03:00
|
|
|
|
2009-06-08 22:09:18 +04:00
|
|
|
<!-- popup for find toolbar -->
|
2009-06-08 23:59:34 +04:00
|
|
|
<hbox id="findbar-container" hidden="true" top="0" left="0">
|
2009-05-04 08:47:07 +04:00
|
|
|
<findbar id="findbar" flex="1"/>
|
|
|
|
</hbox>
|
|
|
|
|
2009-06-08 22:09:18 +04:00
|
|
|
<!-- popup for site identity information -->
|
2009-06-08 23:59:34 +04:00
|
|
|
<hbox id="identity-container" hidden="true" class="panel-dark" top="0" left="0" align="top" mode="unknownIdentity">
|
2009-06-08 22:09:18 +04:00
|
|
|
<image id="identity-popup-icon"/>
|
|
|
|
<vbox id="identity-popup-content-box" flex="1">
|
|
|
|
<hbox flex="1">
|
|
|
|
<label id="identity-popup-connectedToLabel" value="&identity.connectedTo2;"/>
|
|
|
|
<label id="identity-popup-connectedToLabel2" flex="1">&identity.unverifiedsite2;</label>
|
|
|
|
<description id="identity-popup-content-host" flex="1"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox flex="1">
|
|
|
|
<label id="identity-popup-runByLabel" value="&identity.runBy2;"/>
|
|
|
|
<description id="identity-popup-content-owner"/>
|
|
|
|
<description id="identity-popup-content-supplemental"/>
|
|
|
|
</hbox>
|
|
|
|
<description id="identity-popup-content-verifier"/>
|
|
|
|
</vbox>
|
|
|
|
<vbox align="center" pack="start">
|
|
|
|
<image id="identity-popup-encryption-icon"/>
|
|
|
|
<description id="identity-popup-encryption-label"/>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
|
2009-06-08 23:59:34 +04:00
|
|
|
<vbox id="bookmark-container" hidden="true" class="panel-dark" top="0" left="0">
|
2009-05-07 09:51:47 +04:00
|
|
|
<hbox id="bookmark-form" align="start">
|
2009-06-19 09:15:25 +04:00
|
|
|
<image id="bookmark-image" src="chrome://browser/skin/images/starred-default-64.png"/>
|
2009-05-07 09:51:47 +04:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
|
2008-11-25 23:15:39 +03:00
|
|
|
<!-- barrier to the left of the right bar -->
|
2009-06-08 23:59:34 +04:00
|
|
|
<hbox id="panel-container" hidden="true" class="panel-dark" top="0" left="0">
|
2008-09-28 20:57:56 +04:00
|
|
|
<vbox id="panel-controls" oncommand="BrowserUI.switchPane(event.target.getAttribute('linkedpanel'));">
|
2008-11-12 22:22:44 +03:00
|
|
|
<toolbarspring/>
|
2009-06-09 21:55:14 +04:00
|
|
|
<toolbarbutton id="tool-console" type="radio" group="1" hidden="true" class="panel-button button-image" linkedpanel="console-container" oncommand="ConsoleView.init();"/>
|
2009-05-29 09:58:30 +04:00
|
|
|
<toolbarbutton id="tool-addons" type="radio" group="1" class="panel-button button-image" linkedpanel="addons-container"/>
|
|
|
|
<toolbarbutton id="tool-downloads" type="radio" group="1" class="panel-button button-image" linkedpanel="downloads-container"/>
|
|
|
|
<toolbarbutton id="tool-preferences" type="radio" group="1" checked="true" class="panel-button button-image" linkedpanel="prefs-container"/>
|
|
|
|
<toolbarbutton id="tool-panel-close" type="check" checked="true" class="page-button button-image" command="cmd_panel"/>
|
2008-09-11 04:38:02 +04:00
|
|
|
</vbox>
|
2009-04-28 21:14:38 +04:00
|
|
|
<deck id="panel-items" selectedIndex="2" flex="1">
|
2009-04-22 18:19:48 +04:00
|
|
|
<vbox id="addons-container" flex="1">
|
2009-05-08 08:43:08 +04:00
|
|
|
<hbox id="addons-header" class="panel-header">
|
2009-04-22 18:19:48 +04:00
|
|
|
<label value="&addonsHeader.label;"/>
|
|
|
|
</hbox>
|
|
|
|
<notificationbox id="addons-messages" flex="1">
|
|
|
|
<richlistbox id="addons-list" flex="1">
|
|
|
|
<richlistitem id="addons-local" class="section-header" align="center">
|
|
|
|
<label value="&addonsLocal.label;" flex="1"/>
|
|
|
|
</richlistitem>
|
2009-06-23 20:23:48 +04:00
|
|
|
<richlistitem id="addons-repo" class="section-header" orient="horizontal" align="center">
|
|
|
|
<label value="&addonsRepo.label;" flex="1"/>
|
|
|
|
<textbox id="addons-search-text" emptytext="&addonsSearch.emptytext;" type="search" searchbutton="false"
|
|
|
|
oncommand="ExtensionsView.getAddonsFromRepo(this.value);"/>
|
2009-04-22 18:19:48 +04:00
|
|
|
</richlistitem>
|
|
|
|
</richlistbox>
|
|
|
|
</notificationbox>
|
|
|
|
</vbox>
|
|
|
|
|
2009-04-22 18:59:52 +04:00
|
|
|
<vbox id="downloads-container" flex="1">
|
2009-05-08 08:43:08 +04:00
|
|
|
<vbox id="downloads-header" class="panel-header">
|
2009-04-22 18:59:52 +04:00
|
|
|
<hbox align="center">
|
|
|
|
<label value="&downloadsHeader.label;" flex="1"/>
|
2009-05-08 08:43:08 +04:00
|
|
|
<radiogroup id="downloads-sort-mode" class="toggle-dark" oncommand="DownloadsView.toggleMode();">
|
2009-04-22 18:59:52 +04:00
|
|
|
<radio label="&downloadsSortDate.label;" value="date" selected="true"/>
|
|
|
|
<radio label="&downloadsSortSite.label;" value="site"/>
|
|
|
|
<radio label="&downloadsSortName.label;" value="name"/>
|
|
|
|
<radio label="&downloadsSearch.label;" value="search"/>
|
|
|
|
</radiogroup>
|
|
|
|
</hbox>
|
|
|
|
<hbox id="downloads-search-box" pack="end" collapsed="true">
|
|
|
|
<textbox id="downloads-search-text" emptytext="&downloadsSearch.emptytext;" type="search" searchbutton="false"
|
|
|
|
oncommand="DownloadsView.getDownloads();"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<richlistbox id="downloads-list" flex="1"/>
|
|
|
|
</vbox>
|
2008-09-23 07:57:09 +04:00
|
|
|
|
2008-09-28 20:26:58 +04:00
|
|
|
<vbox id="prefs-container" flex="1">
|
2009-06-08 19:45:20 +04:00
|
|
|
<hbox pack="center" id="buttons" oncommand="BrowserUI.showPrefSection(event.target.getAttribute('linkedsection'));">
|
|
|
|
<toolbarbutton id="prefs-content-button" class="show-text button-dark" label="&content.title;" linkedsection="prefs-content"/>
|
|
|
|
<toolbarbutton id="prefs-privacy-button" class="show-text button-dark" label="&privacy.title;" linkedsection="prefs-privacy"/>
|
|
|
|
</hbox>
|
2009-05-20 21:31:53 +04:00
|
|
|
<richlistbox id="prefs-list" seltype="single" flex="1">
|
2009-06-08 19:45:20 +04:00
|
|
|
<vbox class="prefsection" id="prefs-content">
|
2008-09-23 22:19:31 +04:00
|
|
|
<label value="&content.title;" crop="end" flex="1"/>
|
|
|
|
</vbox>
|
2009-05-20 22:15:02 +04:00
|
|
|
<richpref pref="permissions.default.image" title="&showImages.title;" type="boolint" on="1" off="2"/>
|
|
|
|
<richpref pref="javascript.enabled" type="bool" title="&enableJavaScript.title;">
|
|
|
|
&enableJavaScript.description;
|
2008-09-23 07:57:09 +04:00
|
|
|
</richpref>
|
2009-05-20 22:15:02 +04:00
|
|
|
<richpref pref="plugins.enabled" type="bool" title="&enablePlugins.title;" onsynctopreference="Browser.setPluginState(this.value);">
|
|
|
|
&enablePlugins.description;
|
2008-09-23 07:57:09 +04:00
|
|
|
</richpref>
|
|
|
|
|
2009-06-08 19:45:20 +04:00
|
|
|
<vbox class="prefsection" id="prefs-privacy">
|
2008-09-23 22:19:31 +04:00
|
|
|
<label value="&privacy.title;" crop="end" flex="1"/>
|
|
|
|
</vbox>
|
2009-05-20 22:15:02 +04:00
|
|
|
<richpref pref="network.cookie.cookieBehavior" title="&allowCookies.title;" type="boolint" on="0" off="2">
|
|
|
|
&allowCookies.description;
|
2008-09-24 10:39:57 +04:00
|
|
|
</richpref>
|
2009-05-20 22:15:02 +04:00
|
|
|
<richpref pref="signon.rememberSignons" title="&rememberPasswords.title;" type="bool"/>
|
|
|
|
<richpref title="&clearPrivateData.title;" type="button">
|
|
|
|
&clearPrivateData.description;
|
|
|
|
<button id="prefs-clear-data" label="&clearPrivateData.button;" command="cmd_sanitize"/>
|
2008-09-23 07:57:09 +04:00
|
|
|
</richpref>
|
2009-05-06 06:30:43 +04:00
|
|
|
</richlistbox>
|
2008-09-23 07:57:09 +04:00
|
|
|
</vbox>
|
2009-06-09 21:55:14 +04:00
|
|
|
|
|
|
|
<vbox id="console-container" flex="1">
|
|
|
|
<vbox id="console-header" class="panel-header">
|
|
|
|
<hbox align="center">
|
2009-06-13 02:06:40 +04:00
|
|
|
<label value="&consoleCodeEval.label;" control="console-eval-textbox"/>
|
|
|
|
<textbox id="console-eval-textbox" class="toolbar" value="" onkeypress="ConsoleView.onEvalKeyPress(event)" flex="1"/>
|
|
|
|
<button id="console-button-eval" class="button-dark show-text" label="&consoleEvaluate.label;" oncommand="ConsoleView.evaluateTypein()"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox align="center" pack="end">
|
2009-06-09 21:55:14 +04:00
|
|
|
<radiogroup id="console-filter" class="toggle-dark" oncommand="ConsoleView.changeMode();">
|
|
|
|
<radio label="&consoleAll.label;" value="all" selected="true"/>
|
|
|
|
<radio label="&consoleErrors.label;" value="error"/>
|
|
|
|
<radio label="&consoleWarnings.label;" value="warning"/>
|
|
|
|
<radio label="&consoleMessages.label;" value="message"/>
|
|
|
|
</radiogroup>
|
|
|
|
<button id="console-clear" class="button-dark show-text" oncommand="ConsoleView.clearConsole();" label="&consoleClear.label;"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
|
|
|
|
<richlistbox id="console-box" class="console-box" flex="1"/>
|
|
|
|
</vbox>
|
2008-09-11 04:38:02 +04:00
|
|
|
</deck>
|
|
|
|
</hbox>
|
|
|
|
|
2009-06-08 23:59:34 +04:00
|
|
|
<vbox id="popup_autocomplete" class="panel-dark" hidden="true" top="0" left="0" constraint="ignore-x,vp-relative">
|
2009-05-05 00:45:40 +04:00
|
|
|
<arrowscrollbox id="autocomplete_navbuttons"
|
|
|
|
align="center"
|
|
|
|
flex="1"
|
|
|
|
orient="horizontal"
|
|
|
|
oncommand="BrowserUI.doButtonSearch(event.target);">
|
2008-12-09 21:38:31 +03:00
|
|
|
<image class="tool-search"/>
|
2009-05-05 00:45:40 +04:00
|
|
|
</arrowscrollbox>
|
2008-12-09 21:38:31 +03:00
|
|
|
</vbox>
|
|
|
|
|
2009-06-24 20:42:53 +04:00
|
|
|
<vbox id="select-container" class="panel-dark" hidden="true" top="0" left="0">
|
|
|
|
<scrollbox id="select-list" flex="1" orient="vertical"/>
|
|
|
|
<hbox id="select-buttons">
|
|
|
|
<button label="&selectListDone.label;" oncommand="SelectHelper.close();"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
|
2009-06-08 23:59:34 +04:00
|
|
|
<vbox id="bookmarklist-container" class="panel-dark" hidden="true" top="0" left="0">
|
2009-05-31 07:51:03 +04:00
|
|
|
<hbox id="bookmarklist-header">
|
2009-02-25 09:20:45 +03:00
|
|
|
<description flex="1">&bookmarksHeader.label;</description>
|
2009-05-06 06:30:43 +04:00
|
|
|
<toolbarbutton id="tool-bookmarks-manage" class="urlbar-button show-text button-dark" type="check" autocheck="true" label="&bookmarksManage.label;"
|
2009-02-25 09:20:45 +03:00
|
|
|
oncommand="BookmarkList.toggleManage();"/>
|
2009-05-29 09:58:30 +04:00
|
|
|
<toolbarbutton id="tool-bookmarks-close" class="urlbar-button button-image" type="check" checked="true"
|
2009-02-25 09:20:45 +03:00
|
|
|
oncommand="BookmarkList.close();"/>
|
|
|
|
</hbox>
|
2009-02-25 09:20:45 +03:00
|
|
|
<placelist id="bookmark-items" type="bookmarks" flex="1"
|
|
|
|
onmove="FolderPicker.show(this);"
|
2009-02-25 09:20:45 +03:00
|
|
|
onopen="BookmarkList.openBookmark();"/>
|
|
|
|
</vbox>
|
|
|
|
|
2009-06-08 23:59:34 +04:00
|
|
|
<vbox id="folder-container" class="panel-dark" hidden="true" top="0" left="0">
|
2009-05-31 07:51:03 +04:00
|
|
|
<hbox id="folder-header">
|
2009-02-25 09:20:45 +03:00
|
|
|
<description flex="1">&foldersHeader.label;</description>
|
2009-05-29 09:58:30 +04:00
|
|
|
<toolbarbutton id="tool-folders-close" class="urlbar-button button-image" type="check" checked="true"
|
2009-02-25 09:20:45 +03:00
|
|
|
oncommand="FolderPicker.close()"/>
|
2008-12-15 19:44:27 +03:00
|
|
|
</hbox>
|
2009-02-25 09:20:45 +03:00
|
|
|
<placetree id="folder-items" type="bookmarks" mode="folders" flex="1" onselect="FolderPicker.moveItem();"/>
|
2008-07-04 10:16:46 +04:00
|
|
|
</vbox>
|
2008-11-22 08:12:25 +03:00
|
|
|
|
2009-06-08 23:59:34 +04:00
|
|
|
<vbox id="helperapp-container" class="dialog-dark" hidden="true" align="center" top="0" left="0">
|
2009-05-07 08:44:22 +04:00
|
|
|
<label id="helperapp-prompt" value="What would you like to do with"/>
|
|
|
|
<label id="helperapp-target" value=""/>
|
|
|
|
<separator/>
|
|
|
|
<hbox pack="center">
|
|
|
|
<button id="helperapp-open" label="Open" oncommand="HelperAppDialog.open();"/>
|
|
|
|
<button id="helperapp-save" label="Save" oncommand="HelperAppDialog.save();"/>
|
|
|
|
<button id="helperapp-nothing" label="Nothing" oncommand="HelperAppDialog.close();"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
|
2009-06-08 23:59:34 +04:00
|
|
|
<hbox id="alerts-container" hidden="true" align="start" top="0" left="0" width="200"
|
2009-04-09 09:13:16 +04:00
|
|
|
onclick="AlertsHelper.click(event);">
|
|
|
|
<image id="alerts-image"/>
|
2009-06-17 00:15:46 +04:00
|
|
|
<vbox flex="1">
|
2009-04-09 09:13:16 +04:00
|
|
|
<label id="alerts-title" value=""/>
|
2009-06-17 00:15:46 +04:00
|
|
|
<description id="alerts-text" flex="1"/>
|
2009-04-09 09:13:16 +04:00
|
|
|
</vbox>
|
|
|
|
</hbox>
|
2008-07-04 10:16:46 +04:00
|
|
|
</stack>
|
2008-11-22 08:12:25 +03:00
|
|
|
</box>
|
|
|
|
|
|
|
|
<!-- where all the (hidden) <browser> elements go; I wish this could be display: none -->
|
|
|
|
<box id="browsers"/>
|
2008-04-18 17:41:49 +04:00
|
|
|
</window>
|