home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Komunik / phoenix / chrome / browser.jar / content / browser / viewSource.xul < prev    next >
Extensible Markup Language  |  2002-10-10  |  1KB  |  44 lines

  1. <?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> 
  2. <?xml-stylesheet href="chrome://navigator/skin/" type="text/css"?> 
  3.  
  4.  
  5. <?xul-overlay href="chrome://browser/content/viewSourceOverlay.xul"?>
  6.  
  7. <!DOCTYPE window [
  8. <!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
  9. %brandDTD;
  10. <!ENTITY % sourceDTD SYSTEM "chrome://browser/locale/viewSource.dtd" >
  11. %sourceDTD;
  12. ]>
  13.  
  14. <window id="main-window"
  15.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  16.         onload="onLoadViewSource();"
  17.         contenttitlesetting="true"
  18.         title="&mainWindow.title;" 
  19.         titlemodifier="&mainWindow.titlemodifier;" 
  20.         titlepreface="&mainWindow.preface;"
  21.         titlemenuseparator ="&mainWindow.titlemodifierseparator;"  
  22.         windowtype="navigator:view-source"
  23.         width="640" height="480"
  24.         screenX="10" screenY="10"
  25.         persist="screenX screenY width height sizemode">
  26.  
  27.   <commandset id="commands"/>
  28.   <keyset id="viewSourceKeys"/>
  29.   <stringbundleset id="viewSource-stringbundleset"/>
  30.   <popupset id="viewSourceContextSet" />
  31.   <popup id="contentAreaContextMenu"/>
  32.  
  33.   <toolbox id="viewSource-toolbox"/>
  34.  
  35.   <vbox id="appcontent" flex="1"
  36.        ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
  37.  
  38.     <browser id="content" type="content-primary" name="content" src="about:blank" flex="1"
  39.              context="viewSourceContextMenu"/>
  40.  
  41.   </vbox> 
  42.  
  43. </window>
  44.