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;"
|
2009-02-20 23:51:34 +03:00
|
|
|
#ifdef WINCE
|
2009-07-08 20:48:09 +04:00
|
|
|
sizemode="fullscreen"
|
2009-02-20 23:51:34 +03:00
|
|
|
#elifdef MOZ_PLATFORM_HILDON
|
2009-08-15 00:18:17 +04:00
|
|
|
sizemode="fullscreen"
|
2009-02-20 23:51:34 +03:00
|
|
|
#else
|
|
|
|
width="800"
|
|
|
|
height="500"
|
|
|
|
#endif
|
2009-08-17 22:16:11 +04:00
|
|
|
onkeypress="onDebugKeyPress(event);"
|
2008-11-22 08:12:25 +03:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
2009-08-17 22:16:11 +04:00
|
|
|
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"/>
|
2009-07-18 07:12:10 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/Util.js"/>
|
2008-11-22 08:12:25 +03:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/InputHandler.js"/>
|
2009-07-18 03:17:57 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/TileManager.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/BrowserView.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);"/>
|
|
|
|
|
|
|
|
<!-- 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-07-29 03:55:53 +04:00
|
|
|
#ifndef WINCE
|
2009-03-20 02:20:32 +03:00
|
|
|
<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"/>
|
2009-07-29 03:55:53 +04:00
|
|
|
#else
|
|
|
|
<key id="key_zoomin" keycode="VK_F1" command="cmd_zoomin"/>
|
|
|
|
<key id="key_zoomout" keycode="VK_F2" command="cmd_zoomout"/>
|
|
|
|
<key id="key_quit" keycode="VK_F4" command="cmd_quit"/>
|
|
|
|
#endif
|
2008-07-16 19:41:38 +04:00
|
|
|
|
2008-07-25 22:10:35 +04:00
|
|
|
<!-- tabs -->
|
2009-07-14 01:58: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
|
|
|
|
2009-09-05 08:57:43 +04:00
|
|
|
<stack flex="1" id="stack">
|
2009-08-17 22:16:11 +04:00
|
|
|
<scrollbox id="scrollbox" style="overflow: hidden;" top="0" left="0" flex="1">
|
|
|
|
<hbox style="position: relative">
|
|
|
|
|
|
|
|
<vbox>
|
|
|
|
<spacer class="sidebar-spacer"/>
|
|
|
|
<!-- Left toolbar -->
|
|
|
|
<vbox id="tabs-container" class="panel-dark" flex="1">
|
2009-09-10 07:32:13 +04:00
|
|
|
<vbox id="tabs" onselect="BrowserUI.selectTab(this);" onclosetab="BrowserUI.closeTab(this)" flex="1"/>
|
2009-08-17 22:16:11 +04:00
|
|
|
<hbox id="tabs-controls">
|
|
|
|
<toolbarbutton id="newtab-button" class="button-image" command="cmd_newTab"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2009-08-06 00:28:43 +04:00
|
|
|
</vbox>
|
2009-08-07 02:38:43 +04:00
|
|
|
|
2009-08-17 22:16:11 +04:00
|
|
|
<!-- Content Area -->
|
|
|
|
<scrollbox id="tile-container-container" style="-moz-box-orient: vertical; overflow: hidden;" flex="1">
|
|
|
|
|
|
|
|
<!-- Main Toolbar -->
|
|
|
|
<box id="toolbar-container" class="panel-dark">
|
|
|
|
<box id="toolbar-moveable-container">
|
|
|
|
<toolbar id="toolbar-main" class="panel-dark">
|
|
|
|
<hbox id="urlbar-container" flex="1">
|
|
|
|
<box id="identity-box"
|
|
|
|
onclick="getIdentityHandler().handleIdentityButtonEvent(event);"
|
|
|
|
onkeypress="getIdentityHandler().handleIdentityButtonEvent(event);">
|
|
|
|
<box id="urlbar-image-box">
|
|
|
|
<image id="urlbar-throbber"/>
|
|
|
|
<image id="urlbar-favicon" hidden="true"/>
|
|
|
|
</box>
|
2009-08-15 00:02:23 +04:00
|
|
|
</box>
|
2009-08-17 22:16:11 +04:00
|
|
|
<hbox id="urlbar-editarea" flex="1">
|
|
|
|
<textbox id="urlbar-edit"
|
|
|
|
type="autocomplete"
|
|
|
|
autocompletesearch="history"
|
|
|
|
autocompletepopup="popup_autocomplete"
|
|
|
|
enablehistory="false"
|
|
|
|
maxrows="6"
|
|
|
|
completeselectedindex="true"
|
|
|
|
minresultsforpopup="0"
|
|
|
|
flex="1"
|
|
|
|
ontextentered="BrowserUI.goToURI();"
|
|
|
|
clickSelectsAll="true"/>
|
|
|
|
</hbox>
|
|
|
|
<hbox id="urlbar-icons" mode="view">
|
|
|
|
<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"/>
|
|
|
|
</hbox>
|
2009-08-15 00:02:23 +04:00
|
|
|
</hbox>
|
2009-08-17 22:16:11 +04:00
|
|
|
<toolbarbutton id="tool-app-close" class="urlbar-button button-image" command="cmd_close"/>
|
|
|
|
</toolbar>
|
|
|
|
</box>
|
2009-08-15 00:02:23 +04:00
|
|
|
</box>
|
2009-08-14 01:13:17 +04:00
|
|
|
|
2009-08-17 22:16:11 +04:00
|
|
|
<notificationbox id="notifications"/>
|
|
|
|
|
|
|
|
<!-- Content viewport -->
|
|
|
|
<box>
|
|
|
|
<html:div id="tile-container" style="width: 800px; height: 480px; overflow: hidden;"
|
|
|
|
onnewtab="CommandUpdater.doCommand('cmd_newTab');"/> <!-- do we want this new tab thing? -->
|
|
|
|
</box>
|
|
|
|
</scrollbox>
|
|
|
|
|
|
|
|
<!-- Right toolbar -->
|
|
|
|
<vbox>
|
|
|
|
<spacer class="sidebar-spacer"/>
|
|
|
|
|
|
|
|
<vbox id="browser-controls" style="overflow: -moz-hidden-unscrollable;" class="panel-dark" flex="1">
|
|
|
|
<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"/>
|
|
|
|
<toolbarspring/>
|
|
|
|
<toolbarbutton id="tool-panel-open" class="page-button button-image" command="cmd_panel"/>
|
|
|
|
</vbox>
|
2009-08-06 00:28:43 +04:00
|
|
|
</vbox>
|
2009-08-17 22:16:11 +04:00
|
|
|
</hbox>
|
|
|
|
</scrollbox>
|
2009-07-18 03:17:57 +04:00
|
|
|
|
2009-06-08 22:09:18 +04:00
|
|
|
<!-- popup for find toolbar -->
|
2009-08-11 20:36: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-08-26 23:29:46 +04:00
|
|
|
<vbox id="identity-container" hidden="true" class="panel-dark" top="0" left="0" mode="unknownIdentity">
|
|
|
|
<hbox id="identity-popup-container" flex="1" align="top">
|
|
|
|
<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>
|
|
|
|
|
|
|
|
<hbox id="search-container" align="center" flex="1">
|
|
|
|
<label id="search-engine-label-add" value="&searchEngine.addSearch;"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2009-06-08 22:09:18 +04:00
|
|
|
|
2009-08-26 08:49:26 +04:00
|
|
|
<vbox id="newtab-popup" hidden="true" class="panel-dark" onclick="NewTabPopup.selectTab()" align="center" left="21">
|
|
|
|
<label/>
|
|
|
|
</vbox>
|
|
|
|
|
2009-08-18 01:05:06 +04:00
|
|
|
<vbox id="bookmark-popup" hidden="true" class="panel-dark" oncommand="BookmarkPopup.hide()" align="center">
|
|
|
|
<label value="&bookmarkPopup.label;"/>
|
|
|
|
<vbox>
|
|
|
|
<button label="&bookmarkEdit.label;" oncommand="BookmarkHelper.edit(); BrowserUI.hideControls();"/>
|
|
|
|
<button label="&bookmarkRemove.label;" oncommand="removeBookmarksForURI(getBrowser().currentURI);"/>
|
|
|
|
</vbox>
|
|
|
|
</vbox>
|
|
|
|
|
2009-08-11 20:36: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>
|
|
|
|
|
2009-08-11 20:36:34 +04:00
|
|
|
<box id="panel-container" hidden="true" class="panel-dark" top="0" left="0">
|
2009-07-31 16:33:41 +04:00
|
|
|
<box id="panel-controls" oncommand="BrowserUI.switchPane(event.target.getAttribute('linkedpanel'));">
|
2009-09-14 20:50:21 +04:00
|
|
|
<toolbarbutton id="tool-panel-close" class="page-button button-image" command="cmd_panel"/>
|
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"/>
|
2009-07-31 16:33:41 +04:00
|
|
|
<toolbarbutton id="tool-console" type="radio" group="1" hidden="true" class="panel-button button-image" linkedpanel="console-container" oncommand="ConsoleView.init();"/>
|
|
|
|
</box>
|
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">
|
2009-09-04 02:05:43 +04:00
|
|
|
<richlistbox id="addons-list" flex="1" onselect="ExtensionsView.hideOptions()">
|
2009-04-22 18:19:48 +04:00
|
|
|
<richlistitem id="addons-local" class="section-header" align="center">
|
|
|
|
<label value="&addonsLocal.label;" flex="1"/>
|
2009-09-07 05:08:06 +04:00
|
|
|
<spacer flex="1"/>
|
|
|
|
<button class="button-dark" label="&addonsUpdate.label;" oncommand="ExtensionsView.updateAll();"/>
|
2009-04-22 18:19:48 +04:00
|
|
|
</richlistitem>
|
2009-07-31 16:33:41 +04:00
|
|
|
<richlistitem id="addons-repo" class="section-header">
|
2009-06-23 20:23:48 +04:00
|
|
|
<label value="&addonsRepo.label;" flex="1"/>
|
2009-08-27 04:44:35 +04:00
|
|
|
<textbox id="addons-search-text" emptytext="&addonsSearch2.emptytext;" type="search" searchbutton="false"
|
2009-06-23 20:23:48 +04:00
|
|
|
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-09-17 07:20:47 +04:00
|
|
|
<hbox id="downloads-header" class="panel-header">
|
|
|
|
<label value="&downloadsHeader.label;" flex="1"/>
|
|
|
|
</hbox>
|
2009-04-22 18:59:52 +04:00
|
|
|
<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-07-31 16:33:41 +04:00
|
|
|
<hbox id="prefs-header" class="panel-header">
|
|
|
|
<label value="&prefsHeader.label;"/>
|
2009-06-08 19:45:20 +04:00
|
|
|
</hbox>
|
2009-05-20 21:31:53 +04:00
|
|
|
<richlistbox id="prefs-list" seltype="single" flex="1">
|
2009-09-04 02:05:43 +04:00
|
|
|
<setting title="&about.title;" type="button">
|
2009-09-01 17:51:27 +04:00
|
|
|
&about.description;
|
2009-09-03 22:04:50 +04:00
|
|
|
<button id="prefs-about-button" label="&about.button;" oncommand="Browser.addTab('about:fennec', true);"/>
|
2009-09-04 02:05:43 +04:00
|
|
|
</setting>
|
|
|
|
<settings id="prefs-content" label="&content.title;">
|
|
|
|
<setting pref="permissions.default.image" title="&showImages.title;" type="boolint" on="1" off="2"/>
|
|
|
|
<setting pref="javascript.enabled" type="bool" title="&enableJavaScript.title;">
|
|
|
|
&enableJavaScript.description;
|
|
|
|
</setting>
|
|
|
|
<setting pref="plugins.enabled" type="bool" title="&enablePlugins.title;" onsynctopreference="Browser.setPluginState(this.value);">
|
|
|
|
&enablePlugins.description;
|
|
|
|
</setting>
|
|
|
|
</settings>
|
|
|
|
<settings id="prefs-privacy" label="&privacy.title;">
|
|
|
|
<setting pref="network.cookie.cookieBehavior" title="&allowCookies.title;" type="boolint" on="0" off="2">
|
|
|
|
&allowCookies.description;
|
|
|
|
</setting>
|
|
|
|
<setting pref="signon.rememberSignons" title="&rememberPasswords.title;" type="bool"/>
|
|
|
|
<setting title="&clearPrivateData.title;" type="button">
|
|
|
|
&clearPrivateData.description;
|
|
|
|
<button id="prefs-clear-data" label="&clearPrivateData.button;" command="cmd_sanitize"/>
|
|
|
|
</setting>
|
|
|
|
</settings>
|
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">
|
2009-07-31 16:33:41 +04:00
|
|
|
<label value="&consoleHeader.label;"/>
|
2009-06-09 21:55:14 +04:00
|
|
|
<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();">
|
2009-07-31 16:33:41 +04:00
|
|
|
<radio id="console-filter-all" label="&consoleAll.label;" value="all" selected="true"/>
|
|
|
|
<radio id="console-filter-messages" label="&consoleMessages.label;" value="message"/>
|
|
|
|
<radio id="console-filter-warnings" label="&consoleWarnings.label;" value="warning"/>
|
|
|
|
<radio id="console-filter-errors" label="&consoleErrors.label;" value="error"/>
|
2009-06-09 21:55:14 +04:00
|
|
|
</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>
|
2009-07-31 16:33:41 +04:00
|
|
|
</box>
|
2008-09-11 04:38:02 +04:00
|
|
|
|
2009-08-17 22:16:11 +04:00
|
|
|
<vbox id="popup_autocomplete" class="panel-dark" hidden="true" top="0" left="0">
|
2009-05-05 00:45:40 +04:00
|
|
|
<arrowscrollbox id="autocomplete_navbuttons"
|
|
|
|
align="center"
|
|
|
|
flex="1"
|
2009-08-03 21:21:51 +04:00
|
|
|
orient="horizontal">
|
2008-12-09 21:38:31 +03:00
|
|
|
<image class="tool-search"/>
|
2009-09-10 22:08:56 +04:00
|
|
|
<radiogroup id="search-buttons" class="toggle-dark" onclick="BrowserUI.doButtonSearch(event.target);">
|
2009-08-03 21:21:51 +04:00
|
|
|
</radiogroup>
|
2009-05-05 00:45:40 +04:00
|
|
|
</arrowscrollbox>
|
2008-12-09 21:38:31 +03:00
|
|
|
</vbox>
|
|
|
|
|
2009-08-11 20:36:34 +04:00
|
|
|
<vbox id="select-container" hidden="true" top="0" left="0">
|
2009-07-08 01:18:54 +04:00
|
|
|
<vbox id="select-container-inner" class="panel-dark" flex="1">
|
|
|
|
<scrollbox id="select-list" flex="1" orient="vertical"/>
|
|
|
|
<hbox id="select-buttons">
|
2009-08-13 20:43:09 +04:00
|
|
|
<button class="button-dark" label="&selectListDone.label;" oncommand="SelectHelper.close();"/>
|
2009-07-08 01:18:54 +04:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
2009-06-24 20:42:53 +04:00
|
|
|
</vbox>
|
|
|
|
|
2009-08-11 20:36: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-09-14 20:50:21 +04:00
|
|
|
<toolbarbutton id="tool-bookmarks-manage" class="urlbar-button show-text button-dark" type="checkbox" autocheck="true"
|
|
|
|
label="&bookmarksManage.label;" oncommand="BookmarkList.toggleManage();"/>
|
|
|
|
<toolbarbutton id="tool-bookmarks-close" class="urlbar-button button-image" command="cmd_close"/>
|
2009-02-25 09:20:45 +03:00
|
|
|
</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-08-11 20:36: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-09-14 20:50:21 +04:00
|
|
|
<toolbarbutton id="tool-folders-close" class="urlbar-button button-image" command="cmd_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-08-11 20:36:34 +04:00
|
|
|
<vbox id="helperapp-container" class="dialog-dark" hidden="true" align="center" top="0" left="0">
|
2009-06-30 20:26:07 +04:00
|
|
|
<label id="helperapp-prompt" value="&helperApp.prompt;"/>
|
2009-07-03 01:49:00 +04:00
|
|
|
<label id="helperapp-target" value="" crop="center"/>
|
2009-05-07 08:44:22 +04:00
|
|
|
<separator/>
|
|
|
|
<hbox pack="center">
|
2009-08-17 22:02:09 +04:00
|
|
|
<button id="helperapp-open" class="button-dark" label="&helperApp.open;" oncommand="HelperAppDialog.open();"/>
|
|
|
|
<button id="helperapp-save" class="button-dark" label="&helperApp.save;" oncommand="HelperAppDialog.save();"/>
|
|
|
|
<button id="helperapp-nothing" class="button-dark" label="&helperApp.nothing;" oncommand="HelperAppDialog.close();"/>
|
2009-05-07 08:44:22 +04:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
|
2009-08-11 20:36: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
|
|
|
|
2009-07-21 00:48:26 +04:00
|
|
|
<box>
|
2009-07-22 17:12:02 +04:00
|
|
|
<html:div style="position: relative; overflow: -moz-hidden-unscrollable; max-width: 0px; max-height: 0px; visibility: hidden;">
|
2009-07-21 00:48:26 +04:00
|
|
|
<html:div id="browsers" style="position: absolute;"/>
|
|
|
|
</html:div>
|
|
|
|
</box>
|
|
|
|
|
2008-04-18 17:41:49 +04:00
|
|
|
</window>
|