mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
131 lines
5.2 KiB
XML
Executable File
131 lines
5.2 KiB
XML
Executable File
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
|
|
|
<!-- ***** 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 Communicator client code, released
|
|
March 31, 1998.
|
|
|
|
The Initial Developer of the Original Code is
|
|
Netscape Communications Corporation.
|
|
Portions created by the Initial Developer are Copyright (C) 1998-2000
|
|
the Initial Developer. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
Marcio S. Galli, mgalli@geckonnection.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 GPL or the LGPL. 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 ***** -->
|
|
|
|
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://minimo/skin/minimo.css" type="text/css"?>
|
|
|
|
|
|
<!DOCTYPE window [
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" >
|
|
%brandDTD;
|
|
<!ENTITY % minimoDTD SYSTEM "chrome://minimo/locale/minimo.dtd" >
|
|
%minimoDTD;
|
|
]>
|
|
|
|
<window id="main-window"
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
orient="vertical"
|
|
title="Minimo"
|
|
titlemodifier="Minimo"
|
|
titlemenuseparator=" - "
|
|
onload="MiniNavStartup()"
|
|
onunload="MiniNavShutdown()">
|
|
|
|
<script type="application/x-javascript" src="chrome://minimo/content/minimo.js"/>
|
|
|
|
<toolbox>
|
|
|
|
<!-- command definitions -->
|
|
<!-- WARNING: this should be enabled soon as the events menu fix is landed. -->
|
|
<!-- we shall enable all the command="cmd_commandName" for each Menu Item -->
|
|
<!-- so far, the -->
|
|
<command id="cmd_BrowserOpenTab" oncommand="BrowserOpenTab()"/>
|
|
<command id="cmd_BrowserOpenInfo" oncommand="BrowserOpenInfo()"/>
|
|
<command id="cmd_BrowserTestDialogs" oncommand="BrowserTestDialogs()"/>
|
|
<command id="cmd_BrowserTestSendSMS" oncommand="BrowserTestSendSMS()"/>
|
|
|
|
<toolbar id="nav-bar">
|
|
|
|
<menubar class="chromeclass-menubar">
|
|
|
|
<menu id="menu-button" >
|
|
<menupopup>
|
|
<menuitem id="command_BrowserOpenTab" command="cmd_BrowserOpenTab" label="new Tab" />
|
|
<menu id="menu-zoom" label="Text zoom">
|
|
<menupopup >
|
|
<menuitem id="" oncommand="BrowserResetZoomPlus()" label="ZOOM + " />
|
|
<menuitem id="" oncommand="BrowserResetZoomMinus()" label="ZOOM - " />
|
|
</menupopup>
|
|
</menu>
|
|
<!--
|
|
<menuitem id="command_BrowserOpenInfo" label="page Info" />
|
|
<menuitem id="command_BrowserTestDialogs" label="Dialog XUL" />
|
|
<menuitem id="command_BrowserTestSendSMS" label="Send SMS"/>
|
|
-->
|
|
</menupopup>
|
|
</menu>
|
|
</menubar>
|
|
|
|
<toolbarbutton id="back-button" onclick="BrowserBack()"/>
|
|
<toolbarbutton id="forward-button" onclick="BrowserForward()"/>
|
|
<toolbarbutton id="reload-stop-button" class="reload-button" onclick="BrowserReload()"/>
|
|
<textbox id="urlbar" flex="100%" onkeypress="if( event.keyCode == 13 ) { BrowserLoadURL(); }"/>
|
|
</toolbar>
|
|
</toolbox>
|
|
|
|
<hbox flex="1" >
|
|
<hbox id="appcontent" flex="100%">
|
|
<hbox id="browser" context="context" flex="1">
|
|
<tabbrowser contentcontextmenu="contentAreaContextMenu" context="context" type="content-primary" id="content" src="about:blank" flex="1" onclick="tabbrowserAreaClick(event)" onnewtab="BrowserOpenTab()"/>
|
|
</hbox>
|
|
</hbox>
|
|
</hbox>
|
|
|
|
<statusbar id="statusbar" hidden="false">
|
|
<statusbarpanel id="statusbar-text" label="Minimo" flex="1" crop="right"/>
|
|
<statusbarpanel id="security" label="" style="display: none"/>
|
|
</statusbar>
|
|
|
|
<!-- place holder for our app popups and hook to the overlay -->
|
|
<popupset>
|
|
<popup id="contentAreaContextMenu" onpopupshowing="BrowserPopupShowing()">
|
|
<menuitem id="item_call" insertbefore="context-sep-view" label="" oncommand=""/>
|
|
<menuitem id="item_test" label="Context Menu" oncommand=""/>
|
|
</popup>
|
|
<popup id="menu_FilePopup">
|
|
<menuitem id="menu_close"/>
|
|
<menuitem id="menu_closeWindow" command="cmd_closeWindow" key="key_closeWindow" label="about" />
|
|
</popup>
|
|
</popupset>
|
|
|
|
</window>
|
|
|