<?xml version="1.0"?> 

<!DOCTYPE overlay [
  <!ENTITY % dtd1 SYSTEM "chrome://inspector/locale/inspector.dtd"> %dtd1;
  <!ENTITY % dtd2 SYSTEM "chrome://inspector/content/util.dtd"> %dtd2;
]>

<?xul-overlay href="chrome://inspector/content/editingOverlay.xul"?>

<overlay id="ovPopupsMain"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <menupopup id="menu_FilePopup">
    <menu oncommand="inspector.setTargetDocument(event.target.doc);"
          id="mnInspectContentDocumentFile"
          label="&mnInspectContentDocument.label;"
          accesskey="&mnInspectContentDocument.accesskey;">
      <menupopup id="list-content-documents-popup"
                 onpopupshowing="inspector.showInspectDocumentList(event, false);"/>
    </menu>
    <menu oncommand="inspector.setTargetDocument(event.target.doc);"
          id="mnInspectChromeDocumentFile"
          label="&mnInspectChromeDocument.label;"
          accesskey="&mnInspectChromeDocument.accesskey;">
      <menupopup id="list-chrome-documents-popup"
                 onpopupshowing="inspector.showInspectDocumentList(event, true);"/>
    </menu>
    <menuitem label="&cmdShowOpenURLDialog.label;" accesskey="&cmdShowOpenURLDialog.accesskey;"
              observes="cmdShowOpenURLDialog"/>
    <menuseparator/>
    <menuitem label="&cmdSave.label;" accesskey="&cmdSave.accesskey;" 
              observes="cmdSave" key="key_saveInspector" id="mi-save"/>
    <menuseparator/>
    <menuitem label="&cmdClose.label;" accesskey="&cmdClose.accesskey;" 
              observes="cmdClose" key="key_closeInspector"/>
  </menupopup>

  <menupopup id="mppEdit">
    <menuitem id="mnEditUndo"/>
    <menuitem id="mnEditRedo"/>
    <menuseparator/>
    <menuitem id="mnEditCut"/>
    <menuitem id="mnEditCopy"/>
    <menuitem id="mnEditPaste"/>
    <menuseparator/>
    <menuitem id="mnEditInsert"/>
    <menuitem id="mnEditDelete"/>
  </menupopup>

  <menupopup id="mppView">
    <menuitem class="menuitem-iconic" type="checkbox" label="&cmdToggleBrowser.label;"
              accesskey="&cmdToggleBrowser.accesskey;" observes="cmdToggleBrowser"/>
    <menuseparator/>
  </menupopup>

  <popupset id="ppsViewerPopupset"/>
  
</overlay>
