OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface InspectorFrontendHost { | 7 interface InspectorFrontendHost { |
8 | 8 |
9 void bringToFront(); | 9 void bringToFront(); |
10 | 10 |
11 bool canSaveAs(); | 11 bool canSaveAs(); |
12 | 12 |
13 void closeWindow(); | 13 void closeWindow(); |
14 | 14 |
15 void copyText(String text); | 15 void copyText(String text); |
16 | 16 |
17 String hiddenPanels(); | 17 String hiddenPanels(); |
18 | 18 |
19 void inspectedURLChanged(String newURL); | 19 void inspectedURLChanged(String newURL); |
20 | 20 |
21 String loadResourceSynchronously(String url); | 21 String loadResourceSynchronously(String url); |
22 | 22 |
23 void loaded(); | 23 void loaded(); |
24 | 24 |
25 String localizedStringsURL(); | 25 String localizedStringsURL(); |
26 | 26 |
27 void moveWindowBy(num x, num y); | 27 void moveWindowBy(num x, num y); |
28 | 28 |
| 29 void openInNewTab(String url); |
| 30 |
29 String platform(); | 31 String platform(); |
30 | 32 |
31 String port(); | 33 String port(); |
32 | 34 |
33 void recordActionTaken(int actionCode); | 35 void recordActionTaken(int actionCode); |
34 | 36 |
35 void recordPanelShown(int panelCode); | 37 void recordPanelShown(int panelCode); |
36 | 38 |
37 void recordSettingChanged(int settingChanged); | 39 void recordSettingChanged(int settingChanged); |
38 | 40 |
39 void requestAttachWindow(); | 41 void requestAttachWindow(); |
40 | 42 |
41 void requestDetachWindow(); | 43 void requestDetachWindow(); |
42 | 44 |
43 void requestSetDockSide(String side); | 45 void requestSetDockSide(String side); |
44 | 46 |
45 void saveAs(String fileName, String content); | 47 void saveAs(String fileName, String content); |
46 | 48 |
47 void sendMessageToBackend(String message); | 49 void sendMessageToBackend(String message); |
48 | 50 |
49 void setAttachedWindowHeight(int height); | 51 void setAttachedWindowHeight(int height); |
50 | 52 |
51 void setInjectedScriptForOrigin(String origin, String script); | 53 void setInjectedScriptForOrigin(String origin, String script); |
52 | 54 |
53 void showContextMenu(MouseEvent event, Object items); | 55 void showContextMenu(MouseEvent event, Object items); |
54 } | 56 } |
OLD | NEW |