| 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 class _InspectorFrontendHostWrappingImplementation extends DOMWrapperBase implem
ents InspectorFrontendHost { | 7 class _InspectorFrontendHostWrappingImplementation extends DOMWrapperBase implem
ents InspectorFrontendHost { |
| 8 _InspectorFrontendHostWrappingImplementation() : super() {} | 8 _InspectorFrontendHostWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__InspectorFrontendHostWrappingImplementation() native { | 10 static create__InspectorFrontendHostWrappingImplementation() native { |
| 11 return new _InspectorFrontendHostWrappingImplementation(); | 11 return new _InspectorFrontendHostWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 void bringToFront() { | 14 void bringToFront() { |
| 15 _bringToFront(this); | 15 _bringToFront(this); |
| 16 return; | 16 return; |
| 17 } | 17 } |
| 18 static void _bringToFront(receiver) native; | 18 static void _bringToFront(receiver) native; |
| 19 | 19 |
| 20 bool canSaveAs() { |
| 21 return _canSaveAs(this); |
| 22 } |
| 23 static bool _canSaveAs(receiver) native; |
| 24 |
| 20 void closeWindow() { | 25 void closeWindow() { |
| 21 _closeWindow(this); | 26 _closeWindow(this); |
| 22 return; | 27 return; |
| 23 } | 28 } |
| 24 static void _closeWindow(receiver) native; | 29 static void _closeWindow(receiver) native; |
| 25 | 30 |
| 26 void copyText(String text) { | 31 void copyText(String text) { |
| 27 _copyText(this, text); | 32 _copyText(this, text); |
| 28 return; | 33 return; |
| 29 } | 34 } |
| 30 static void _copyText(receiver, text) native; | 35 static void _copyText(receiver, text) native; |
| 31 | 36 |
| 32 void disconnectFromBackend() { | |
| 33 _disconnectFromBackend(this); | |
| 34 return; | |
| 35 } | |
| 36 static void _disconnectFromBackend(receiver) native; | |
| 37 | |
| 38 String hiddenPanels() { | 37 String hiddenPanels() { |
| 39 return _hiddenPanels(this); | 38 return _hiddenPanels(this); |
| 40 } | 39 } |
| 41 static String _hiddenPanels(receiver) native; | 40 static String _hiddenPanels(receiver) native; |
| 42 | 41 |
| 43 void inspectedURLChanged(String newURL) { | 42 void inspectedURLChanged(String newURL) { |
| 44 _inspectedURLChanged(this, newURL); | 43 _inspectedURLChanged(this, newURL); |
| 45 return; | 44 return; |
| 46 } | 45 } |
| 47 static void _inspectedURLChanged(receiver, newURL) native; | 46 static void _inspectedURLChanged(receiver, newURL) native; |
| 48 | 47 |
| 48 String loadResourceSynchronously(String url) { |
| 49 return _loadResourceSynchronously(this, url); |
| 50 } |
| 51 static String _loadResourceSynchronously(receiver, url) native; |
| 52 |
| 49 void loaded() { | 53 void loaded() { |
| 50 _loaded(this); | 54 _loaded(this); |
| 51 return; | 55 return; |
| 52 } | 56 } |
| 53 static void _loaded(receiver) native; | 57 static void _loaded(receiver) native; |
| 54 | 58 |
| 55 String localizedStringsURL() { | 59 String localizedStringsURL() { |
| 56 return _localizedStringsURL(this); | 60 return _localizedStringsURL(this); |
| 57 } | 61 } |
| 58 static String _localizedStringsURL(receiver) native; | 62 static String _localizedStringsURL(receiver) native; |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 return; | 118 return; |
| 115 } | 119 } |
| 116 static void _sendMessageToBackend(receiver, message) native; | 120 static void _sendMessageToBackend(receiver, message) native; |
| 117 | 121 |
| 118 void setAttachedWindowHeight(int height) { | 122 void setAttachedWindowHeight(int height) { |
| 119 _setAttachedWindowHeight(this, height); | 123 _setAttachedWindowHeight(this, height); |
| 120 return; | 124 return; |
| 121 } | 125 } |
| 122 static void _setAttachedWindowHeight(receiver, height) native; | 126 static void _setAttachedWindowHeight(receiver, height) native; |
| 123 | 127 |
| 124 void setExtensionAPI(String script) { | 128 void setInjectedScriptForOrigin(String origin, String script) { |
| 125 _setExtensionAPI(this, script); | 129 _setInjectedScriptForOrigin(this, origin, script); |
| 126 return; | 130 return; |
| 127 } | 131 } |
| 128 static void _setExtensionAPI(receiver, script) native; | 132 static void _setInjectedScriptForOrigin(receiver, origin, script) native; |
| 129 | 133 |
| 130 void showContextMenu(MouseEvent event, Object items) { | 134 void showContextMenu(MouseEvent event, Object items) { |
| 131 _showContextMenu(this, event, items); | 135 _showContextMenu(this, event, items); |
| 132 return; | 136 return; |
| 133 } | 137 } |
| 134 static void _showContextMenu(receiver, event, items) native; | 138 static void _showContextMenu(receiver, event, items) native; |
| 135 | 139 |
| 136 String get typeName() { return "InspectorFrontendHost"; } | 140 String get typeName() { return "InspectorFrontendHost"; } |
| 137 } | 141 } |
| OLD | NEW |