| 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(); | |
| 12 | |
| 13 void closeWindow(); | 11 void closeWindow(); |
| 14 | 12 |
| 15 void copyText(String text); | 13 void copyText(String text); |
| 16 | 14 |
| 15 void disconnectFromBackend(); |
| 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); | |
| 22 | |
| 23 void loaded(); | 21 void loaded(); |
| 24 | 22 |
| 25 String localizedStringsURL(); | 23 String localizedStringsURL(); |
| 26 | 24 |
| 27 void moveWindowBy(num x, num y); | 25 void moveWindowBy(num x, num y); |
| 28 | 26 |
| 29 String platform(); | 27 String platform(); |
| 30 | 28 |
| 31 String port(); | 29 String port(); |
| 32 | 30 |
| 33 void recordActionTaken(int actionCode); | 31 void recordActionTaken(int actionCode); |
| 34 | 32 |
| 35 void recordPanelShown(int panelCode); | 33 void recordPanelShown(int panelCode); |
| 36 | 34 |
| 37 void recordSettingChanged(int settingChanged); | 35 void recordSettingChanged(int settingChanged); |
| 38 | 36 |
| 39 void requestAttachWindow(); | 37 void requestAttachWindow(); |
| 40 | 38 |
| 41 void requestDetachWindow(); | 39 void requestDetachWindow(); |
| 42 | 40 |
| 43 void saveAs(String fileName, String content); | 41 void saveAs(String fileName, String content); |
| 44 | 42 |
| 45 void sendMessageToBackend(String message); | 43 void sendMessageToBackend(String message); |
| 46 | 44 |
| 47 void setAttachedWindowHeight(int height); | 45 void setAttachedWindowHeight(int height); |
| 48 | 46 |
| 49 void setInjectedScriptForOrigin(String origin, String script); | 47 void setExtensionAPI(String script); |
| 50 | 48 |
| 51 void showContextMenu(MouseEvent event, Object items); | 49 void showContextMenu(MouseEvent event, Object items); |
| 52 } | 50 } |
| OLD | NEW |