OLD | NEW |
1 | 1 |
2 class InspectorFrontendHostJs extends DOMTypeJs implements InspectorFrontendHost
native "*InspectorFrontendHost" { | 2 class InspectorFrontendHostJs extends DOMTypeJs implements InspectorFrontendHost
native "*InspectorFrontendHost" { |
3 | 3 |
4 void bringToFront() native; | 4 void bringToFront() native; |
5 | 5 |
6 bool canSaveAs() native; | 6 bool canSaveAs() native; |
7 | 7 |
8 void closeWindow() native; | 8 void closeWindow() native; |
9 | 9 |
10 void copyText(String text) native; | 10 void copyText(String text) native; |
11 | 11 |
12 String hiddenPanels() native; | 12 String hiddenPanels() native; |
13 | 13 |
14 void inspectedURLChanged(String newURL) native; | 14 void inspectedURLChanged(String newURL) native; |
15 | 15 |
16 String loadResourceSynchronously(String url) native; | 16 String loadResourceSynchronously(String url) native; |
17 | 17 |
18 void loaded() native; | 18 void loaded() native; |
19 | 19 |
20 String localizedStringsURL() native; | 20 String localizedStringsURL() native; |
21 | 21 |
22 void moveWindowBy(num x, num y) native; | 22 void moveWindowBy(num x, num y) native; |
23 | 23 |
| 24 void openInNewTab(String url) native; |
| 25 |
24 String platform() native; | 26 String platform() native; |
25 | 27 |
26 String port() native; | 28 String port() native; |
27 | 29 |
28 void recordActionTaken(int actionCode) native; | 30 void recordActionTaken(int actionCode) native; |
29 | 31 |
30 void recordPanelShown(int panelCode) native; | 32 void recordPanelShown(int panelCode) native; |
31 | 33 |
32 void recordSettingChanged(int settingChanged) native; | 34 void recordSettingChanged(int settingChanged) native; |
33 | 35 |
34 void requestAttachWindow() native; | 36 void requestAttachWindow() native; |
35 | 37 |
36 void requestDetachWindow() native; | 38 void requestDetachWindow() native; |
37 | 39 |
38 void requestSetDockSide(String side) native; | 40 void requestSetDockSide(String side) native; |
39 | 41 |
40 void saveAs(String fileName, String content) native; | 42 void saveAs(String fileName, String content) native; |
41 | 43 |
42 void sendMessageToBackend(String message) native; | 44 void sendMessageToBackend(String message) native; |
43 | 45 |
44 void setAttachedWindowHeight(int height) native; | 46 void setAttachedWindowHeight(int height) native; |
45 | 47 |
46 void setInjectedScriptForOrigin(String origin, String script) native; | 48 void setInjectedScriptForOrigin(String origin, String script) native; |
47 | 49 |
48 void showContextMenu(MouseEventJs event, Object items) native; | 50 void showContextMenu(MouseEventJs event, Object items) native; |
49 } | 51 } |
OLD | NEW |