home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 December / PCWorld_2000-12_cd.bin / Komunikace / mozilla / mozilla-win32-M18-mathml-svg-xslt.exe / chrome / toolkit / content / global / hiddenWindow.xul < prev    next >
Extensible Markup Language  |  2000-06-17  |  3KB  |  70 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <!-- The contents of this file are subject to the Netscape Public
  4. License Version 1.1 (the "License"); you may not use this file
  5. except in compliance with the License. You may obtain a copy of
  6. the License at http://www.mozilla.org/NPL/
  7.  
  8. Software distributed under the License is distributed on an "AS
  9. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  10. implied. See the License for the specific language governing
  11. rights and limitations under the License.
  12.  
  13. The Original Code is Mozilla Communicator client code, released
  14. March 31, 1998.
  15.  
  16. The Initial Developer of the Original Code is Netscape
  17. Communications Corporation. Portions created by Netscape are
  18. Copyright (C) 1998-1999 Netscape Communications Corporation. All
  19. Rights Reserved.
  20.  
  21. Contributor(s): ______________________________________. -->
  22.  
  23. <?xul-overlay href="chrome://navigator/content/navigatorOverlay.xul"?>
  24. <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>
  25.  
  26. <!-- hiddenwindow is a "minimal" XUL window intended for creating the,
  27.      er, hidden window.  This window is never shown, but on platforms
  28.      which leave the app running after the last (visible) window is shut
  29.      down, this window does hold a browser menubar.
  30.        Though this window looks a lot like navigator.xul, that xul
  31.      is unsuitable because it's subject to the whims of its associated
  32.      appcore, which among other things causes it to load content documents
  33.      undesirable for this window.
  34.        Arguably a simpler menu structure could be substituted, but
  35.      the full one was included for now in anticipation of the whole thing
  36.      becoming an included file someday. -->
  37.  
  38. <!-- Localizable string definitions from navigator.xul. -->
  39. <!DOCTYPE window [
  40. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  41. %brandDTD;
  42. <!ENTITY % navigatorDTD SYSTEM "chrome://navigator/locale/navigator.dtd" >
  43. %navigatorDTD;
  44. ]>
  45.  
  46. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  47.   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  48.   title="hidden"
  49.   titlemodifier="&mainWindow.titlemodifier;" 
  50.   titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
  51.   onload="hiddenWindowStartup();">
  52.  
  53.   <!-- JS from navigator.xul, to handle the menu commands -->
  54.   <script language="JavaScript" src="chrome://global/content/strres.js"/>
  55.   <script language="javascript" src="chrome://navigator/content/navigator.js"/>
  56.  
  57.   <!-- keys are appended from the overlay -->
  58.   <keyset id="keyset"/>
  59.   
  60.   <!-- broadcasters are appended from the overlay -->
  61.   <broadcasterset id="broadcasterset"/>
  62.  
  63.   <!-- it's the whole navigator.xul menubar! hidden windows need to
  64.        have a menubar for situations where they're the only window remaining
  65.        on a platform that wants to leave the app running, like the Mac.
  66.   -->
  67.   <menubar id="main-menubar"/>
  68.  
  69. </window>
  70.