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 { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 return _localizedStringsURL(this); | 60 return _localizedStringsURL(this); |
61 } | 61 } |
62 static String _localizedStringsURL(receiver) native; | 62 static String _localizedStringsURL(receiver) native; |
63 | 63 |
64 void moveWindowBy(num x, num y) { | 64 void moveWindowBy(num x, num y) { |
65 _moveWindowBy(this, x, y); | 65 _moveWindowBy(this, x, y); |
66 return; | 66 return; |
67 } | 67 } |
68 static void _moveWindowBy(receiver, x, y) native; | 68 static void _moveWindowBy(receiver, x, y) native; |
69 | 69 |
| 70 void openInNewTab(String url) { |
| 71 _openInNewTab(this, url); |
| 72 return; |
| 73 } |
| 74 static void _openInNewTab(receiver, url) native; |
| 75 |
70 String platform() { | 76 String platform() { |
71 return _platform(this); | 77 return _platform(this); |
72 } | 78 } |
73 static String _platform(receiver) native; | 79 static String _platform(receiver) native; |
74 | 80 |
75 String port() { | 81 String port() { |
76 return _port(this); | 82 return _port(this); |
77 } | 83 } |
78 static String _port(receiver) native; | 84 static String _port(receiver) native; |
79 | 85 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 static void _setInjectedScriptForOrigin(receiver, origin, script) native; | 144 static void _setInjectedScriptForOrigin(receiver, origin, script) native; |
139 | 145 |
140 void showContextMenu(MouseEvent event, Object items) { | 146 void showContextMenu(MouseEvent event, Object items) { |
141 _showContextMenu(this, event, items); | 147 _showContextMenu(this, event, items); |
142 return; | 148 return; |
143 } | 149 } |
144 static void _showContextMenu(receiver, event, items) native; | 150 static void _showContextMenu(receiver, event, items) native; |
145 | 151 |
146 String get typeName() { return "InspectorFrontendHost"; } | 152 String get typeName() { return "InspectorFrontendHost"; } |
147 } | 153 } |
OLD | NEW |