Web Inspector: further align front-end configurations: get rid of saveAsAvailable...
[WebKit-https.git] / Source / WebCore / inspector / InspectorFrontendHost.idl
index 0703a8e..6e7824a 100644 (file)
  */
 
 module core {
  */
 
 module core {
-    interface [Conditional=INSPECTOR] InspectorFrontendHost {
+    interface [
+        Conditional=INSPECTOR
+    ] InspectorFrontendHost {
         void loaded();
         void closeWindow();
         void loaded();
         void closeWindow();
-        void disconnectFromBackend();
         void bringToFront();
         void inspectedURLChanged(in DOMString newURL);
 
         void bringToFront();
         void inspectedURLChanged(in DOMString newURL);
 
@@ -47,14 +48,19 @@ module core {
         DOMString localizedStringsURL();
         DOMString hiddenPanels();
 
         DOMString localizedStringsURL();
         DOMString hiddenPanels();
 
-        void saveSessionSetting(in DOMString key, in DOMString value);
-        DOMString loadSessionSetting(in DOMString key);
-
         void copyText(in DOMString text);
         void copyText(in DOMString text);
+        boolean canSaveAs();
+        void saveAs(in DOMString fileName, in DOMString content);
 
         [Custom] DOMString platform();
         [Custom] DOMString port();
         [Custom] void showContextMenu(in MouseEvent event, in DOMObject items);
         void sendMessageToBackend(in DOMString message);
 
         [Custom] DOMString platform();
         [Custom] DOMString port();
         [Custom] void showContextMenu(in MouseEvent event, in DOMObject items);
         void sendMessageToBackend(in DOMString message);
+
+        [Custom] void recordActionTaken(in unsigned long actionCode);
+        [Custom] void recordPanelShown(in unsigned long panelCode);
+        [Custom] void recordSettingChanged(in unsigned long settingChanged);
+        
+        DOMString loadResourceSynchronously(in DOMString url);
     };
 }
     };
 }