gecko/browser/devtools/debugger/debugger.xul

124 lines
5.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- ***** 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.org code.
-
- The Initial Developer of the Original Code is
- Mozilla Foundation.
- Portions created by the Initial Developer are Copyright (C) 2011
- the Initial Developer. All Rights Reserved.
-
- Contributor(s):
- Dave Camp <dcamp@mozilla.com>
- Panos Astithas <past@mozilla.com>
- Victor Porof <vporof@mozilla.com>
- Rob Campbell <rcampbell@mozilla.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://browser/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/orion.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/debugger.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/debugger.css" type="text/css"?>
<!DOCTYPE window [
<!ENTITY % debuggerDTD SYSTEM "chrome://browser/locale/devtools/debugger.dtd" >
%debuggerDTD;
]>
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
<?xul-overlay href="chrome://browser/content/source-editor-overlay.xul"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="text/javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="text/javascript" src="debugger-controller.js"/>
<script type="text/javascript" src="debugger-view.js"/>
<popupset id="debugger-popups">
<menupopup id="sourceEditorContextMenu"
onpopupshowing="goUpdateSourceEditorMenuItems()">
<menuitem id="se-cMenu-copy"/>
<menuseparator/>
<menuitem id="se-cMenu-selectAll"/>
<menuseparator/>
<menuitem id="se-cMenu-find"/>
<menuitem id="se-cMenu-findAgain"/>
<menuseparator/>
<menuitem id="se-cMenu-gotoLine"/>
</menupopup>
</popupset>
<commandset id="editMenuCommands"/>
<commandset id="sourceEditorCommands"/>
<keyset id="sourceEditorKeys"/>
<vbox id="body" flex="1">
<toolbar id="dbg-toolbar" class="devtools-toolbar">
#ifdef XP_MACOSX
<button id="close" class="devtools-closebutton"/>
#endif
<button id="resume"
class="devtools-toolbarbutton"
type="checkbox"
tabindex="0"/>
<button id="step-over"
class="devtools-toolbarbutton"
label="&debuggerUI.stepOverButton;"
tabindex="0"/>
<button id="step-in"
class="devtools-toolbarbutton"
label="&debuggerUI.stepInButton;"
tabindex="0"/>
<button id="step-out"
class="devtools-toolbarbutton"
label="&debuggerUI.stepOutButton;"
tabindex="0"/>
<menulist id="scripts" class="devtools-menulist"
label="&debuggerUI.emptyScriptText;"/>
<textbox id="scripts-search" type="search"
emptytext="&debuggerUI.emptyFilterText;"/>
<spacer flex="1"/>
#ifndef XP_MACOSX
<toolbarbutton id="close" class="devtools-closebutton"/>
#endif
</toolbar>
<hbox id="dbg-content" flex="1">
<vbox id="stack" flex="1">
<div id="stackframes" class="vbox flex"/>
</vbox>
<splitter id="stack-script-splitter"
class="devtools-side-splitter"/>
<vbox id="script" flex="1">
<div id="editor" class="vbox flex"/>
</vbox>
<splitter id="script-properties-splitter"
class="devtools-side-splitter"/>
<vbox id="properties" flex="1">
<div id="variables" class="vbox flex"/>
</vbox>
</hbox>
</vbox>
</window>