Update browserx.xul

Working prototype with playback
This commit is contained in:
David Westgate 2013-04-28 21:10:31 -03:00
parent f864d6f2b6
commit b7794985c2

View File

@ -1,36 +1,35 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<?xml-stylesheet href="chrome://linktargetfinder/skin/skin.css" type="text/css"?> <?xml-stylesheet href="chrome://linktargetfinder/skin/skin.css" type="text/css"?>
<!DOCTYPE firerecord SYSTEM "chrome://firerecord/locale/translations.dtd"> <!DOCTYPE firerecord SYSTEM "chrome://firerecord/locale/translations.dtd">
<overlay id="sample" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <overlay id="sample" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script src="fireio.js" type="text/javascript"/> <script src="fireio.js" type="text/javascript"/>
<script src="firerecord.js" type="text/javascript"/> <script src="fireplay.js" type="text/javascript"/>
<menupopup id="menu_ToolsPopup"> <script src="firerecord.js" type="text/javascript"/>
<menuitem label="&runlinktargetfinder;" key="link-target-finder-run-key" oncommand="firerecord.running()"/> <menupopup id="menu_ToolsPopup">
</menupopup> <menuitem label="&runlinktargetfinder;" key="link-target-finder-run-key" oncommand="firerecord.running()"/>
<toolbox> </menupopup>
<menubar id="xulschoolhello-menubar"> <toolbox>
<menu id="xulschoolhello-greeting-menu" label="File Options"> <menubar id="xulschoolhello-menubar">
<menupopup>
<menuitem label="Open File" </menubar>
oncommand ="firerecord.openfile()"/> </toolbox>
<menuitem label="New File" <keyset>
oncommand ="firerecord.newfile()"/> <key id="link-target-finder-run-key" modifiers="accel alt shift" key="L" oncommand="firerecord.running()"/>
<menuitem label="Run File" </keyset>
oncommand ="firerecord.readr()"/> <toolbar id="status-bar">
</menupopup> <menu id="xulschoolhello-greeting-menu" label="File Options">
</menu> <menupopup>
</menubar> <menuitem label="Open File"
</toolbox> oncommand ="firerecord.openfile()"/>
<keyset> <menuitem label="New File"
<key id="link-target-finder-run-key" modifiers="accel alt shift" key="L" oncommand="firerecord.running()"/> oncommand ="firerecord.newfile()"/>
</keyset> </menupopup>
<toolbar id="status-bar"> </menu>
<statusbarpanel id="link-target-finder-status-bar-icon" label="Record" class="statusbarpanel-iconic" <statusbarpanel id="link-target-finder-status-bar-icon" label="Record" class="statusbarpanel-iconic"
src="chrome://firerecord/skin/record.png" tooltiptext="Click to start recording to currently loaded script" src="chrome://firerecord/skin/record.png" tooltiptext="Click to start recording to currently loaded script"
onclick="firerecord.running()" /> onclick="firerecord.running()" />
</toolbar>
<toolbar id="status-bar"> <statusbarpanel id="Play" type="menu" role="button" label="Play" class="statusbarpanel-iconic"
<statusbarpanel id="Play" type="menu" role="button" label="Play" class="statusbarpanel-iconic" src="chrome://firerecord/skin/play.png" tooltiptext="Click to playback currently loaded script" onclick="firerecord.playback()" />
src="chrome://firerecord/skin/play.png" tooltiptext="Click to playback currently loaded script" onclick="firerecord.readr()" /> </toolbar>
</toolbar>
</overlay> </overlay>