5 - ***** BEGIN LICENSE BLOCK *****
6 - Version: MPL 1.1/GPL 2.0/LGPL 2.1
8 - The contents of this file are subject to the Mozilla Public License Version
9 - 1.1 (the "License"); you may not use this file except in compliance with
10 - the License. You may obtain a copy of the License at
11 - http://www.mozilla.org/MPL/
13 - Software distributed under the License is distributed on an "AS IS" basis,
14 - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
15 - for the specific language governing rights and limitations under the
18 - The Original Code is The JavaScript Debugger.
20 - The Initial Developer of the Original Code is
21 - Netscape Communications Corporation.
22 - Portions created by the Initial Developer are Copyright (C) 1998
23 - the Initial Developer. All Rights Reserved.
26 - Robert Ginda, <rginda@netscape.com>, original author
28 - Alternatively, the contents of this file may be used under the terms of
29 - either the GNU General Public License Version 2 or later (the "GPL"), or
30 - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31 - in which case the provisions of the GPL or the LGPL are applicable instead
32 - of those above. If you wish to allow use of your version of this file only
33 - under the terms of either the GPL or the LGPL, and not to allow others to
34 - use your version of this file under the terms of the MPL, indicate your
35 - decision by deleting the provisions above and replace them with the notice
36 - and other provisions required by the GPL or the LGPL. If you do not delete
37 - the provisions above, a recipient may use your version of this file under
38 - the terms of any one of the MPL, the GPL or the LGPL.
40 - ***** END LICENSE BLOCK ***** -->
42 <!DOCTYPE bindings SYSTEM "chrome://venkman/locale/venkman.dtd">
44 <bindings xmlns="http://www.mozilla.org/xbl"
45 xmlns:xbl="http://www.mozilla.org/xbl"
47 "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
49 <binding id="floatingview">
51 <xul:vbox id="view-frame-p" flex="1"
52 ondragover="console.dnd.dragOver(event, console.viewDropProxy);"
53 ondragexit="console.dnd.dragExit(event, console.viewDropProxy);"
54 ondragdrop="console.dnd.drop(event, console.viewDropProxy);">
55 <xul:vbox class="view-outer"
56 ondraggesture="console.dnd.startDrag(event, console.viewDragProxy);">
57 <xul:hbox id="view-title" flex="1">
58 <xul:image class="view-title-pop"
59 tooltiptext="&ViewFloat.tooltip;"
60 xbl:inherits="parentid=id"
61 onclick="console.dispatch('toggle-float', { viewId: this.getAttribute('parentid')});"/>
62 <xul:hbox class="view-title-grippy" flex="1"
63 tooltiptext="&ViewGrippy.tooltip;">
64 <xul:hbox flex="1" class="view-title-margin-left"/>
65 <xul:label id="view-title-text" xbl:inherits="value=title"
66 tooltiptext="&ViewGrippy.tooltip;"
67 crop="center" flex="1"/>
68 <xul:hbox flex="1" class="view-title-margin-right"/>
70 <xul:image class="view-title-close"
71 xbl:inherits="parentid=id"
72 tooltiptext="&ViewClose.tooltip;"
73 onclick="console.dispatch('toggle-view', { viewId: this.getAttribute('parentid')});"/>
81 <property name="ownerWindow" onget="return window;"/>
82 <property name="proxyIcon" onget="return document.getAnonymousNodes(this)[0].firstChild.firstChild.firstChild;"/>
86 <binding id="viewcontainer-box">
88 <xul:box xbl:inherits="orient=type" class="view-container" flex="1">
94 <property name="ownerWindow" onget="return window;"/>
98 <binding id="viewcontainer-tab">
100 <xul:tabbox flex="1">
101 <xul:tabpanels flex="1">
104 <xul:tabs class="tabs-bottom">
105 <xul:little-tab needinit="true"/>
111 <property name="ownerWindow" onget="return window;"/>
112 <property name="tabs"
113 onget="return document.getAnonymousNodes(this)[0].childNodes[1]"/>
114 <property name="deck"
115 onget="return document.getAnonymousNodes(this)[0].childNodes[0]"/>
119 <binding id="little-tab">
122 ondraggesture="console.dnd.startDrag(event, console.viewDragProxy);"
123 ondragover="console.dnd.dragOver(event, console.viewDropProxy);"
124 ondragdrop="console.dnd.drop(event, console.viewDropProxy);"
125 ondragexit="console.dnd.dragExit(event, console.viewDropProxy);">
126 <xul:label xbl:inherits="value=label" crop="right" flex="1"/>