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