home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / phoenx05.zip / phoenix / chrome / comm.jar / content / navigator / navigatorOverlay.xul < prev    next >
Extensible Markup Language  |  2002-10-03  |  29KB  |  500 lines

  1. <?xml version="1.0"?> 
  2. <!-- The contents of this file are subject to the Netscape Public
  3.    - License Version 1.1 (the "License"); you may not use this file
  4.    - except in compliance with the License. You may obtain a copy of
  5.    - the License at http://www.mozilla.org/NPL/
  6.    - 
  7.    - Software distributed under the License is distributed on an "AS
  8.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.    - implied. See the License for the specific language governing
  10.    - rights and limitations under the License.
  11.    - 
  12.    - The Original Code is Mozilla Communicator client code, released
  13.    - March 31, 1998.
  14.    - 
  15.    - The Initial Developer of the Original Code is Netscape
  16.    - Communications Corporation. Portions created by Netscape are
  17.    - Copyright (C) 1998-1999 Netscape Communications Corporation. All
  18.    - Rights Reserved.
  19.    - 
  20.    - Contributor(s):
  21.    -   Blake Ross   <blakeross@telocity.com>
  22.    -   Peter Annema <disttsc@bart.nl>
  23.    -   Jeremy M. Dolan <jmd@pobox.com>
  24.    -->
  25.  
  26. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  27. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  28. <?xul-overlay href="chrome://communicator/content/viewZoomOverlay.xul"?>
  29. <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  30. <?xul-overlay href="chrome://global/content/charsetOverlay.xul"?>
  31. <?xul-overlay href="chrome://navigator/content/platformNavigationBindings.xul"?>
  32.  
  33. <!DOCTYPE overlay [
  34. <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
  35. %navigatorDTD;
  36. <!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd" >
  37. %contentAreaCommandsDTD;
  38. ]>
  39.  
  40. <overlay id="navigatorOverlay"
  41.          xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  42.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  43.  
  44.   <stringbundleset id="stringbundleset">
  45.     <stringbundle id="bundle_viewZoom"/>
  46.   </stringbundleset>
  47.  
  48.   <!-- Keysets -->
  49.   <keyset id="navKeys">
  50.     <!-- File Menu -->
  51.     <key id="key_newNavigator"/>
  52.     <key id="key_newNavigatorTab" key="&tabCmd.commandkey;" modifiers="accel" command="cmd_newNavigatorTab"/>
  53.     <key id="key_newBlankPage"/>
  54.     <key id="focusURLBar"      key="&openCmd.commandkey;" oncommand="ShowAndSelectContentsOfURLBar();"
  55.          modifiers="accel"/>
  56.     <key id="openLocationKb"   key="&openCmd.commandkey;" command="Browser:Open" modifiers="accel,shift"/>
  57.     <key id="openFileKb"         key="&openFileCmd.commandkey;" command="Browser:OpenFile"  modifiers="accel"/>
  58.     <key id="key_savePage"       key="&savePageCmd.commandkey;" command="Browser:SavePage" modifiers="accel"/>
  59.     <key id="key_editPage"       key="&editPageCmd.commandkey;" command="Browser:EditPage" modifiers="accel"/>
  60.     <key id="printKb"            key="&printCmd.commandkey;" command="Browser:Print"  modifiers="accel"/>
  61.     <key id="key_close"/>
  62.     <key id="key_closeWindow"/>
  63.     <key id="key_quit"/>
  64.  
  65.     <!-- Edit Menu -->
  66.     <key id="key_undo"/>
  67.     <key id="key_redo"/>
  68.     <key id="key_cut"/>
  69.     <key id="key_copy"/>
  70.     <key id="key_paste"/>
  71.     <key id="key_delete"/>
  72.     <key id="key_selectAll"/>
  73.   
  74.           <!-- View Menu -->
  75.     <key id="key_reload"  key="&reloadCmd.commandkey;" oncommand="BrowserReload();" modifiers="accel"/>
  76.     <key key="&reloadCmd.commandkey;" oncommand="BrowserReloadSkipCache();" modifiers="accel,shift"/>
  77.     <key id="key_viewSource" key="&pageSourceCmd.commandkey;" command="View:PageSource" modifiers="accel"/>
  78.     <key id="key_viewInfo"   key="&pageInfoCmd.commandkey;"   command="View:PageInfo"   modifiers="accel"/>
  79.     <key id="key_viewNextSidebarPanel" keycode="VK_PAGE_DOWN"  oncommand="SidebarGetRelativePanel(1);"  modifiers="alt" />
  80.     <key id="key_viewPrevSidebarPanel" keycode="VK_PAGE_UP"  oncommand="SidebarGetRelativePanel(-1);"  modifiers="alt" />
  81.  
  82.     <!-- Search Menu -->  
  83.     <key id="key_find"       key="&findOnCmd.commandkey;"         command="Browser:Find"      modifiers="accel"/>
  84.     <key id="key_findAgain"  key="&findAgainCmd.commandkey;"      command="Browser:FindAgain" modifiers="accel"/>
  85.     <key id="key_findPrev"   key="&findPrevCmd.commandkey;"       command="Browser:FindPrev"  modifiers="accel,shift"/>
  86.     <key keycode="&findAgainCmd.commandkey2;" command="Browser:FindAgain"/>
  87.     <key keycode="&findPrevCmd.commandkey2;"  command="Browser:FindPrev" modifiers="shift"/>
  88.  
  89.     <!-- Go Menu -->
  90.  
  91.     <!-- Bookmarks Menu -->
  92.     <key id="addBookmarkKb" key="&addCurPageCmd.commandkey;" command="Browser:AddBookmark" modifiers="accel"/>
  93.     <key id="addBookmarkAsKb" key="&addCurPageCmd.commandkey;" command="Browser:AddBookmarkAs" modifiers="accel,shift"/>
  94.     <key id="manBookmarkKb" key="&manBookmarksCmd.commandkey;" command="Browser:ManageBookmark" modifiers="accel"/>
  95.  
  96.     <!-- Tools Menu -->
  97.     <key id="searchInternetKb" key="&searchInternet.commandKey;" modifiers="accel,shift" command="Browser:SearchInternet"/>
  98.  
  99.     <!-- Misc -->
  100.     <key id="key_stop" keycode="VK_ESCAPE" oncommand="BrowserStop();"/>
  101.           <!-- the amazing fishcam dept. -->
  102.     <key key="f" modifiers="control,alt" oncommand="loadURI('http://home.netscape.com/fishcam/fishcam.html');"/>
  103.     <key id="key_gotoHistory"  key="&history.commandKey;"        oncommand="toHistory();" modifiers="accel"/>
  104.     <keyset id="viewZoomKeys"/>
  105.     <keyset id="navigationKeys"/>  
  106.     <keyset id="tasksKeys"/>
  107.   </keyset>
  108.  
  109.   <commandset id="commands">
  110.     <command id="cmd_newNavigator"/>
  111.     <command id="cmd_newNavigatorTab" oncommand="BrowserOpenTab();"/>
  112.  
  113.     <command id="cmd_newEditor"/>
  114.     <!-- NOT IMPLEMENTED
  115.     <command id="cmd_newEditorTemplate"/>
  116.     <command id="cmd_newEditorDraft"/> -->
  117.     <command id="Browser:OpenFile"  oncommand="BrowserOpenFileWindow();"/>
  118.     <command id="Browser:SavePage" oncommand="saveDocument(window._content.document);"/>
  119.     <command id="Browser:EditPage" oncommand="editPageOrFrame();" observes="isImage"/>
  120.     <command id="Browser:Open" oncommand="BrowserOpenWindow();"/>
  121.     <command id="Browser:PrintSetup" oncommand="NSPrintSetup();"/>
  122.     <command id="Browser:Print" oncommand="NSPrint();"/>
  123.     <command id="Browser:PrintPreview" oncommand="BrowserPrintPreview();"/>
  124.     <command id="cmd_quit"/>
  125.     <command id="cmd_close" oncommand="BrowserCloseTabOrWindow()"/>
  126.     <command id="cmd_closeWindow" oncommand="BrowserCloseWindow()"/>
  127.  
  128.     <!-- Edit Menu -->
  129.     <command id="cmd_undo"/>
  130.     <command id="cmd_redo"/>
  131.     <command id="cmd_cut"/>
  132.     <command id="cmd_copy"/>
  133.     <command id="cmd_paste"/>
  134.     <command id="cmd_delete"/>
  135.     <command id="cmd_selectAll" observes="isImage"/>
  136.  
  137.     <!-- Content area context menu -->
  138.     <command id="cmd_copyLink"/>
  139.     <command id="cmd_copyImageLocation"/>
  140.     <command id="cmd_copyImageContents"/>
  141.  
  142.     <!-- View Menu -->
  143.     <command id="View:PageSource" oncommand="BrowserViewSourceOfDocument(content.document);" observes="isImage"/>
  144.     <command id="View:PageInfo"   oncommand="BrowserPageInfo();"/>
  145.     <command id="View:FullScreen" oncommand="BrowserFullScreen();"/>
  146.   
  147.     <!-- Search Menu -->
  148.     <command id="Browser:Find" oncommand="BrowserFind();" observes="isImage"/>
  149.     <command id="Browser:FindAgain" oncommand="BrowserFindAgain(false);" observes="isImage"/>
  150.     <command id="Browser:FindPrev"  oncommand="BrowserFindAgain(true);"  observes="isImage"/>
  151.   
  152.     <!-- Bookmarks Menu -->
  153.     <command id="Browser:AddBookmark" label="&addCurPageCmd.label;" accesskey="&addCurPageCmd.accesskey;" 
  154.              oncommand="BookmarksUtils.addBookmarkForBrowser(document.getElementById('content').webNavigation, false);"/>
  155.     <command id="Browser:AddBookmarkAs" label="&addCurPageAsCmd.label;"
  156.              accesskey="&addCurPageAsCmd.accesskey;"
  157.              oncommand="addBookmarkAs();"/>
  158.     <command id="Browser:AddGroupmarkAs" label="&addCurTabsAsCmd.label;"
  159.              accesskey="&addCurTabsAsCmd.accesskey;"
  160.              oncommand="addGroupmarkAs(); event.preventBubble();"/>
  161.     <command id="Browser:ManageBookmark" label="&manBookmarksCmd.label;" accesskey="&manBookmarksCmd.accesskey;" 
  162.              oncommand="BrowserEditBookmarks();" />
  163.   
  164.     <!-- Go Menu -->  
  165.     <command id="Browser:Home"    oncommand="BrowserHome();"/>
  166.     <command id="Browser:Back"    oncommand="BrowserBack();"    observes="canGoBack"/>
  167.     <command id="Browser:Forward" oncommand="BrowserForward();" observes="canGoForward"/>
  168.     <commandset id="viewZoomCommands"/>
  169.     <commandset id="tasksCommands"/>
  170.  
  171.     <!-- Tools Menu -->
  172.     <command id="Browser:SearchInternet" oncommand="BrowserSearchInternet();"/>
  173.  
  174.   </commandset>
  175.  
  176.   <broadcasterset id="navBroadcasters">
  177.     <broadcaster id="canGoBack"    disabled="true"/>
  178.     <broadcaster id="canGoForward" disabled="true"/>
  179.     <broadcaster id="Communicator:WorkMode"/>
  180.     <broadcaster id="cmd_viewnavbar" oncommand="goToggleToolbar( 'nav-bar','cmd_viewnavbar');" checked="true"/>
  181.     <broadcaster id="cmd_viewpersonaltoolbar" oncommand="goToggleToolbar('PersonalToolbar','cmd_viewpersonaltoolbar');" checked="true"/>
  182.     <broadcaster id="cmd_viewtaskbar" oncommand="goToggleToolbar('status-bar','cmd_viewtaskbar');" checked="true"/>
  183.     <broadcaster id="cmd_viewcomponentbar" oncommand="goToggleToolbar('component-bar', 'cmd_viewcomponentbar');" checked="true"/>
  184.     <broadcaster id="isImage"/>
  185.   </broadcasterset>
  186.  
  187.   <!-- Menu -->
  188.   <menubar id="main-menubar" class="chromeclass-menubar">
  189.     <menu id="menu_File">
  190.       <menupopup id="menu_FilePopup" onpopupshowing="getContentAreaFrameCount();">
  191.         <menu id="menu_New">
  192.           <menupopup id="menu_NewPopup">
  193.             <!-- From utilityOverlay.xul -->
  194.             <menuitem id="menu_newNavigator" command="cmd_newNavigator"/>
  195.             <menuitem id="menu_newNavigatorTab" command="cmd_newNavigatorTab" key="key_newNavigatorTab"
  196.                       label="&tabCmd.label;" accesskey="&tabCmd.accesskey;"/>
  197.             <menuseparator id="navBeginGlobalNewItems"/>
  198.             <menuitem id="menu_newEditor"    command="cmd_newEditor"/>
  199.           </menupopup>
  200.         </menu>
  201.         <menuitem label="&openCmd.label;" accesskey="&openCmd.accesskey;" key="openLocationKb" command="Browser:Open"/>
  202.         <menuitem label="&openFileCmd.label;" accesskey="&openFileCmd.accesskey;" key="openFileKb" command="Browser:OpenFile"/>
  203.         <menuitem id="menu_close"/>
  204.         <menuitem id="menu_closeWindow" hidden="true" command="cmd_closeWindow" key="key_closeWindow" label="&closeWindow.label;"/>
  205.         <menuseparator/>
  206.         <menuitem label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;" key="key_savePage" command="Browser:SavePage"/>
  207.         <menuitem id="savepage" label="&saveFrameCmd.label;" accesskey="&saveFrameCmd.accesskey;" oncommand="saveFrameDocument();" hidden="true"/>
  208.         <menuseparator/>
  209.         <menuitem label="&editPageCmd.label;" accesskey="&editPageCmd.accesskey;" key="key_editPage" command="Browser:EditPage" />
  210.         <menuseparator/>
  211.         <menuitem id="printSetupMenuItem" label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" command="Browser:PrintSetup"/>
  212.         <menuitem id="printPreviewMenuItem" label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" command="Browser:PrintPreview"/>
  213.         <menuitem id="printMenuItem" label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="Browser:Print"/>
  214.         <menuseparator/>
  215.         <menuitem id="offlineGoOfflineCmd"/>
  216.       </menupopup>
  217.     </menu>
  218.  
  219.     <menu id="menu_Edit">
  220.       <menupopup id="menu_Edit_Popup">
  221.         <menuitem id="menu_undo"/>
  222.         <menuitem id="menu_redo"/>
  223.         <menuseparator/>
  224.         <menuitem id="menu_cut"/>
  225.         <menuitem id="menu_copy"/>
  226.         <menuitem id="menu_paste"/>
  227.         <menuitem id="menu_delete"/>
  228.         <menuseparator/>
  229.         <menuitem id="menu_selectAll"/>
  230.         <menuseparator/>
  231.         <menuitem id="menu_find" label="&findOnCmd.label;" accesskey="&findOnCmd.accesskey;" key="key_find" command="Browser:Find"/>
  232.         <menuitem id="menu_findAgain" label="&findAgainCmd.label;" accesskey="&findAgainCmd.accesskey;" key="key_findAgain" command="Browser:FindAgain"/>
  233.         <menuitem id="menu_findPrev"  label="&findPrevCmd.label;"  accesskey="&findPrevCmd.accesskey;" key="key_findPrev" command="Browser:FindPrev"/>
  234.         <menuseparator id="menu_PrefsSeparator"/> 
  235.         <menuitem id="menu_preferences" oncommand="goPreferences('navigator', 'chrome://communicator/content/pref/pref-navigator.xul', 'navigator')"/>
  236.       </menupopup>
  237.     </menu>
  238.  
  239.     <menu id="menu_View" accesskey="&viewMenu.accesskey;" label="&viewMenu.label;">
  240.       <menupopup id="menu_View_Popup">
  241.         <menu label="&toolbarsCmd.label;" accesskey="&toolbarsCmd.accesskey;" id="menu_Toolbars">
  242.           <menupopup id="view_toolbars_popup" onpopupshowing="updateToolbarStates(this);"> 
  243.             <menuitem label="&navbarCmd.label;" accesskey="&navbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewnavbar"  />
  244.             <menuitem label="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewpersonaltoolbar" />
  245.             <menuitem id="menuitem_showhide_tabbar" label="&tabbarCmd.label;" accesskey="&tabbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" oncommand="showHideTabbar();" checked="true"/>
  246.             <menuitem label="&taskbarCmd.label;" accesskey="&taskbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewtaskbar" />
  247.             <menuitem label="&componentbarCmd.label;" accesskey="&componentbarCmd.accesskey;" class="menuitem-iconic" type="checkbox" observes="cmd_viewcomponentbar"/>
  248.           </menupopup>
  249.         </menu>   
  250.         <menuitem id="menuitem_fullScreen" accesskey="&fullScreenCmd.accesskey;"
  251.                   label="&fullScreenCmd.label;" key="key_fullScreen"
  252.                   command="View:FullScreen" hidden="true"/>
  253.         <menuseparator />
  254.         <menuitem label="&stopCmd.label;" accesskey="&stopCmd.accesskey;" id="menuitem-stop" disabled="true" oncommand="BrowserStop();" key="key_stop"/>
  255.         <menuitem accesskey="&reloadCmd.accesskey;" key="key_reload" label="&reloadCmd.label;" oncommand="BrowserReload();"/>
  256.         <menuseparator />
  257.   
  258.         <!-- overlayed from viewZoomOverlay.xul -->
  259.         <menu id="menu_textZoom" observes="isImage"/>
  260.  
  261.         <menu label="&useStyleSheetMenu.label;" accesskey="&useStyleSheetMenu.accesskey;" disabled="false" observes="isImage">
  262.           <menupopup onpopupshowing="stylesheetFillPopup(this);"
  263.                      oncommand="stylesheetSwitchAll(window._content, event.target.getAttribute('data'));">
  264.             <menuitem label="&useStyleSheetPersistentOnly.label;" accesskey="&useStyleSheetPersistentOnly.accesskey;" type="radio"/>
  265.           </menupopup>
  266.         </menu>
  267.         <menu id="charsetMenu" observes="isImage"/>
  268.         <menuseparator />
  269.         <menuitem accesskey="&pageSourceCmd.accesskey;" label="&pageSourceCmd.label;" key="key_viewSource" command="View:PageSource"/>
  270.         <menuitem accesskey="&pageInfoCmd.accesskey;"   label="&pageInfoCmd.label;"   key="key_viewInfo"   command="View:PageInfo"/>
  271.         <menuseparator />
  272.         <menu label="&applyTheme.label;" accesskey="&applyTheme.accesskey;">
  273.           <menupopup id="theme" datasources="rdf:chrome" ref="urn:mozilla:skin:root" oncommand="applyTheme(event.target)" onpopupshowing="checkTheme()">
  274.             <menuitem label="&getNewThemesCmd.label;" accesskey="&getNewThemesCmd.accesskey;" oncommand="getNewThemes();"/>
  275.             <menuseparator/>
  276.             <template>
  277.             <menuitem uri="..."
  278.                       label="rdf:http://www.mozilla.org/rdf/chrome#displayName"
  279.                       accesskey="rdf:http://www.mozilla.org/rdf/chrome#accessKey"
  280.                       id="rdf:http://www.mozilla.org/rdf/chrome#name"
  281.                       type="radio"
  282.                       name="themeGroup"/>
  283.             </template>
  284.           </menupopup>
  285.         </menu>
  286.       </menupopup>
  287.     </menu>
  288.  
  289.     <menu accesskey="&goMenu.accesskey;" label="&goMenu.label;" oncommand="gotoHistoryIndex(event);">
  290.       <menupopup onpopupshowing="updateGoMenu(event);">
  291.         <menuitem label="&goBackCmd.label;"    accesskey="&goBackCmd.accesskey;"    key="goBackKb"    command="Browser:Back"/>
  292.         <menuitem label="&goForwardCmd.label;" accesskey="&goForwardCmd.accesskey;" key="goForwardKb" command="Browser:Forward"/>
  293.         <menuitem label="&goHomeCmd.label;"    accesskey="&goHomeCmd.accesskey;"    command="Browser:Home" key="goHome"/>
  294.         <menuseparator/>
  295.         <menuitem label="&historyCmd.label;" accesskey="&historyCmd.accesskey;" oncommand="toHistory()" key="key_gotoHistory"/>
  296.         <menuseparator hidden="true"/>
  297.       </menupopup>
  298.     </menu>
  299.     
  300.     <menu id="BookmarksMenu" label="&bookmarksMenu.label;" accesskey="&bookmarksMenu.accesskey;" 
  301.           datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch" 
  302.           ref="NC:BookmarksRoot" flags="dont-test-empty" template="bookmarksMenuTemplate"
  303.           oncommand="OpenBookmarkURL(event.target, this.database)">
  304.       <template id="bookmarksMenuTemplate" xmlns:nc="http://home.netscape.com/NC-rdf#">
  305.         <rule nc:FolderGroup="true" iscontainer="true">
  306.           <menupopup>
  307.             <menuitem class="menuitem-iconic bookmark-group" 
  308.                       label="rdf:http://home.netscape.com/NC-rdf#Name"
  309.                       group="true"
  310.                       uri="rdf:*"
  311.                       xulcontentsgenerated="true"/>
  312.           </menupopup>
  313.         </rule>
  314.         <rule iscontainer="true" isempty="true"
  315.               rdf:type="http://home.netscape.com/NC-rdf#Folder">
  316.           <menupopup>
  317.             <menu class="menu-iconic bookmark-item" uri="rdf:*" 
  318.                   type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
  319.                   label="rdf:http://home.netscape.com/NC-rdf#Name">
  320.               <menupopup>
  321.                 <menuitem label="&emptyItem.label;" disabled="true"/>
  322.               </menupopup>
  323.             </menu>
  324.           </menupopup>
  325.         </rule>
  326.         <rule iscontainer="true">
  327.           <menupopup>
  328.             <menu class="menu-iconic bookmark-item" uri="rdf:*"
  329.                   label="rdf:http://home.netscape.com/NC-rdf#Name"
  330.                   type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
  331.               <menupopup />
  332.             </menu>
  333.           </menupopup>
  334.         </rule>
  335.         <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
  336.           <menupopup> 
  337.             <menuseparator uri="rdf:*" />
  338.           </menupopup>
  339.         </rule>
  340.         <rule>
  341.           <menupopup>
  342.             <menuitem class="menuitem-iconic bookmark-item" uri="rdf:*"
  343.                       label="rdf:http://home.netscape.com/NC-rdf#Name" 
  344.                       status="rdf:http://home.netscape.com/WEB-rdf#status"/>
  345.           </menupopup>
  346.         </rule>
  347.       </template>
  348.       <menupopup onpopupshowing="updateGroupmarkMenuitem('bookmarks_groupmark');">
  349.         <!-- for some reason these don't work as command="" -->
  350.         <menuitem key="addBookmarkKb"   observes="Browser:AddBookmark"/>
  351.         <menuitem key="addBookmarkAsKb" observes="Browser:AddBookmarkAs"/>
  352.         <menuitem id="bookmarks_groupmark" observes="Browser:AddGroupmarkAs"/>
  353.         <menuitem key="manBookmarkKb"   observes="Browser:ManageBookmark"/>
  354.         <menuseparator/>
  355.       </menupopup>
  356.     </menu>
  357.       
  358.   <menu id="tasksMenu">
  359.     <menupopup id="taskPopup">
  360.       <menuitem id="menu_searchWeb" label="&searchInternetCmd.label;" key="searchInternetKb" accesskey="&searchInternetCmd.accesskey;" command="Browser:SearchInternet"/>
  361.       <menuseparator id="navBeginGlobalItems"/>
  362.     </menupopup>
  363.   </menu>
  364.  
  365.   <menu id="windowMenu"/>
  366.   
  367.   <menu accesskey="&helpMenuCmd.accesskey;" id="menu_Help"/>
  368.  
  369.   <!-- Menu for testing. -->
  370.   <menu id="debugMenu" accesskey="U" label="Debug">
  371.     <menupopup>
  372.       <menu label="Verification">
  373.         <menupopup>
  374.           <menuitem label="Tables" oncommand="loadURI('resource:/res/samples/test6.html');"/>
  375.           <menuitem label="JavaScript" oncommand="loadURI('http://mozilla.org/quality/browser/standards/javascript/tcmatrix/index.html');"/>
  376.           <menuitem label="GIF Images" oncommand="loadURI('http://www.mozilla.org/quality/browser/debugtc/bft_browser_imagemap.html');"/>
  377.           <menuitem label="JPEG Images" oncommand="loadURI('resource:/res/samples/test2.html');"/>
  378.           <menuitem label="PNG Images" oncommand="loadURI('http://www.libpng.org/pub/png/png-MagnoliaAlpha.html');"/>
  379.           <menuitem label="Transparency" oncommand="loadURI('resource:/res/samples/test13.html');"/>
  380.           <menuitem label="Animation" oncommand="loadURI('resource:/res/samples/test2.html');"/>
  381.           <menuitem label="Larger page" oncommand="loadURI('http://www.mozilla.org/quality/browser/debugtc/bft_browser_html_mix3.html');"/>
  382.           <menuitem label="Smaller page" oncommand="loadURI('http://www.mozilla.org/quality/browser/debugtc/bft_browser_link.html');"/>
  383.           <menuseparator />
  384.           <menuitem label="Mozilla" oncommand="loadURI('http://www.mozilla.org');"/>
  385.           <menuitem label="Yahoo" oncommand="loadURI('http://www.yahoo.com');"/>
  386.           <menuitem label="Netscape" oncommand="loadURI('http://www.netscape.com');"/>
  387.           <menuitem label="Excite" oncommand="loadURI('http://www.excite.com');"/>
  388.           <menuitem label="Microsoft" oncommand="loadURI('http://www.microsoft.com');"/>
  389.           <menuitem label="city.net" oncommand="loadURI('http://www.city.net');"/>
  390.           <menuitem label="Mirabilis" oncommand="loadURI('http://www.mirabilis.com');"/>
  391.           <menuitem label="Time" oncommand="loadURI('http://www.time.com');"/>
  392.           <menuitem label="Warner Bros." oncommand="loadURI('http://www.warnerbros.com');"/>
  393.           <menuitem label="CNN" oncommand="loadURI('http://www.cnn.com');"/>
  394.           <menuitem label="USA Today" oncommand="loadURI('http://www.usatoday.com');"/>
  395.           <menuitem label="Disney" oncommand="loadURI('http://www.disney.go.com');"/>
  396.           <menuitem label="Hotwired" oncommand="loadURI('http://www.hotwired.com');"/>
  397.           <menuitem label="Hotbot" oncommand="loadURI('http://www.hotbot.com');"/>
  398.         </menupopup>
  399.       </menu>
  400.  
  401.       <menu label="Viewer Demos">
  402.        <menupopup>
  403.         <menuitem label="#0 Basic Styles"  oncommand="loadURI('resource:/res/samples/test0.html');"/>
  404.         <menuitem label="#1 CSS Styles"  oncommand="loadURI('resource:/res/samples/test1.html');"/>
  405.         <menuitem label="#2 Images"  oncommand="loadURI('resource:/res/samples/test2.html');"/>
  406.         <menuitem label="#3 Basic Tables"  oncommand="loadURI('resource:/res/samples/test3.html');"/>
  407.         <menuitem label="#4 Simple Tables"  oncommand="loadURI('resource:/res/samples/test4.html');"/>
  408.         <menuitem label="#5 More Styles"  oncommand="loadURI('resource:/res/samples/test5.html');"/>
  409.         <menuitem label="#6 Deeply Nested Tables"  oncommand="loadURI('resource:/res/samples/test6.html');"/>
  410.         <menuitem label="#7 Scaled Anim Image"  oncommand="loadURI('resource:/res/samples/test7.html');"/>
  411.         <menuitem label="#8 Form"  oncommand="loadURI('resource:/res/samples/test8.html');"/>
  412.         <menuitem label="#9 Frames"  oncommand="loadURI('resource:/res/samples/test9.html');"/>
  413.         <menuitem label="#10 Anim Images" oncommand="loadURI('resource:/res/samples/test10.html');"/>
  414.         <menuitem label="#11 Fixed Positioning" oncommand="loadURI('resource:/res/samples/test11.html');"/>
  415.         <menuitem label="#12 More Fixed Pos" oncommand="loadURI('resource:/res/samples/test12.html');"/>
  416.         <menuitem label="#13 DHTML" oncommand="loadURI('resource:/res/samples/test13.html');"/>
  417.         <menuitem label="#14 XML Sorting" oncommand="loadURI('resource:/res/samples/test14.html');"/>
  418.         <menuitem label="#15 XML IRS" oncommand="loadURI('resource:/res/samples/test15.html');"/>
  419.         <menuitem label="#16 Gfx Widgets" oncommand="loadURI('resource:/res/samples/test16.html');"/>
  420.        </menupopup>
  421.       </menu>
  422.  
  423.       <menu label="XBL Test Suite">
  424.        <menupopup>
  425.         <menuitem label="#0 Remote XBL"  oncommand="loadURI('http://www.mozilla.org/projects/xbl/test0/test.xul');"/>
  426.         <menuitem label="#1 Technicolor DIV" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test1/test.html');"/>
  427.         <menuitem label="#2 Rollover Madness" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test2/test.html');"/>
  428.         <menuitem label="#3 Popups in HTML" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test3/test.html');"/>
  429.         <menuitem label="#4 Partition Magic" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test4/test.html');"/>        
  430.         <menuitem label="#5 Sticky Notes" oncommand="loadURI('http://www.mozilla.org/projects/xbl/test5/test.html');"/>
  431.        </menupopup>
  432.       </menu>
  433.  
  434.       <menu label="XUL Test Suite">
  435.        <menupopup>
  436.          <menuitem label="#1 Stacks" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/stacks.xul');"/>
  437.          <menuitem label="#2 Popups" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/popups.xul');"/>
  438.          <menuitem label="#3 Descriptions and Labels" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/label.xul');"/>
  439.          <menuitem label="#4 Dialog Buttons" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/buttons.xul');"/>
  440.          <menuitem label="#5 Tabindex" oncommand="loadURI('http://www.mozilla.org/projects/xul/tests/tabindex.xul');"/>
  441.         </menupopup>
  442.       </menu>
  443.  
  444.       <menuitem label="Form Manager Samples" oncommand="loadURI('http://www.mozilla.org/wallet/samples/wallet.html');"/>
  445.  
  446.       <menuitem label="chofmann's Browser Buster" oncommand="loadURI('http://komodo.mozilla.org/buster/');"/>
  447.       <menuitem label="Composer (with test page)" oncommand="window.openDialog('chrome://editor/content','_blank','chrome,all,dialog=no','chrome://editor/content/EditorInitPage.html')"/>
  448.       <menuitem label="Flush Memory" oncommand="Components.classes['@mozilla.org/xpcom/memory-service;1'].getService(Components.interfaces.nsIMemory).heapMinimize(true);" />
  449.  
  450.       <menuseparator />
  451.  
  452.       <menuitem label="StringBundle Test" oncommand="loadURI('resource:/res/strres-test.xul');"/>
  453.       <menuitem label="Bloat: Dump New Stats" oncommand="loadURI('about:bloat?new');"/>
  454.       <menuitem label="Bloat: Dump All Stats" oncommand="loadURI('about:bloat');"/>
  455.       <menuitem label="Bloat: Clear Stats" oncommand="loadURI('about:bloat?clear');"/>
  456.  
  457.       <menuseparator />
  458.  
  459.       <menu label="Leak Detector">
  460.        <menupopup>
  461.         <menuitem label="Dump Memory Leaks"   oncommand="dumpMemoryLeaks();"/>
  462.         <menuitem label="Trace Chrome" oncommand="traceChrome();"/>
  463.         <menuitem label="Trace Document" oncommand="traceDocument();"/>
  464.         <menuitem label="Verbose" oncommand="traceVerbose(this.getAttribute('checked'))" type="checkbox" checked="false"/>
  465.        </menupopup>
  466.       </menu>
  467.     </menupopup>
  468.   </menu>
  469.  
  470.   <menu id="qaMenu" accesskey="Q" label="QA">
  471.     <menupopup id="qaMenuPopup">
  472.       <menuitem label="Getting Involved" oncommand="loadURI('http://www.mozilla.org/start/');"/>
  473.       <menuitem label="Mozilla QA Overview" oncommand="loadURI('http://www.mozilla.org/quality/');"/>
  474.  
  475.       <menuseparator />
  476.  
  477.       <menuitem label="Frequently Reported Bugs" oncommand="loadURI('http://bugzilla.mozilla.org/duplicates.cgi');"/>
  478.       <menuitem label="Bug Writing Guidelines" oncommand="loadURI('http://www.mozilla.org/quality/bug-writing-guidelines.html');"/>
  479.       <menuitem label="File a Bug" oncommand="loadURI('http://bugzilla.mozilla.org/enter_bug.cgi?format=guided');"/>
  480.  
  481.       <menuseparator />
  482.  
  483.       <menuitem label="Bugs Filed Today" oncommand="loadURI('http://bugzilla.mozilla.org/buglist.cgi?changedin=1&chfield=%5BBug+creation%5D&amp;chfieldto=Now&product=Browser&product=MailNews');"/>
  484.       <menuitem label="CVS Checkins Today" oncommand="loadURI('http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyAll&branch=HEAD&branchtype=match&sortby=Date&date=day&cvsroot=%2Fcvsroot');"/>
  485.       <menuitem label="Tree Status" oncommand="loadURI('http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey');"/>
  486.  
  487.       <menuseparator />
  488.  
  489.       <menuitem label="Smoke Tests" oncommand="loadURI('http://www.mozilla.org/quality/smoketests/');"/>
  490.       <menuitem label="Pre-Checkin Tests" oncommand="loadURI('http://www.mozilla.org/quality/precheckin-tests.html');"/>
  491.  
  492.       <menuseparator />
  493.  
  494.       <menuitem label="Latest Builds" oncommand="loadURI('ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/');"/>
  495.     </menupopup>
  496.   </menu>
  497. </menubar>
  498.  
  499. </overlay>
  500.