Index: core/inspector/DevToolsHost.idl |
diff --git a/core/inspector/InspectorFrontendHost.idl b/core/inspector/DevToolsHost.idl |
similarity index 87% |
rename from core/inspector/InspectorFrontendHost.idl |
rename to core/inspector/DevToolsHost.idl |
index c655170d8fc744085664cf2ef26c2ec76480a0d7..d20abb5e224d8e89d5608958540648de6233f2c2 100644 |
--- a/core/inspector/InspectorFrontendHost.idl |
+++ b/core/inspector/DevToolsHost.idl |
@@ -32,10 +32,8 @@ |
[ |
WillBeGarbageCollected, |
- NoInterfaceObject |
-] interface InspectorFrontendHost { |
- // FIXME: setZoomFactor is here only for old frontends. Remove in M38. |
- void setZoomFactor(float zoom); |
+ NoInterfaceObject, |
+] interface DevToolsHost { |
float zoomFactor(); |
void setInjectedScriptForOrigin(DOMString origin, DOMString script); |
@@ -43,16 +41,12 @@ |
void copyText(DOMString text); |
[Custom] DOMString platform(); |
- [Custom] DOMString port(); |
// FIXME: showContextMenu is here only for old frontends. Remove in M43. |
[Custom] void showContextMenu(MouseEvent event, any items); |
- [Custom] void showContextMenuAtPoint(float x, float y, any items); |
+ [Custom] void showContextMenuAtPoint(float x, float y, any items, optional Document document); |
void sendMessageToBackend(DOMString message); |
void sendMessageToEmbedder(DOMString message); |
- [Custom] void recordActionTaken(unsigned long actionCode); |
- [Custom] void recordPanelShown(unsigned long panelCode); |
- |
DOMString getSelectionBackgroundColor(); |
DOMString getSelectionForegroundColor(); |