OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class _InspectorFrontendHostWrappingImplementation extends DOMWrapperBase implem
ents InspectorFrontendHost { | |
8 _InspectorFrontendHostWrappingImplementation() : super() {} | |
9 | |
10 static create__InspectorFrontendHostWrappingImplementation() native { | |
11 return new _InspectorFrontendHostWrappingImplementation(); | |
12 } | |
13 | |
14 void bringToFront() { | |
15 _bringToFront(this); | |
16 return; | |
17 } | |
18 static void _bringToFront(receiver) native; | |
19 | |
20 bool canSaveAs() { | |
21 return _canSaveAs(this); | |
22 } | |
23 static bool _canSaveAs(receiver) native; | |
24 | |
25 void closeWindow() { | |
26 _closeWindow(this); | |
27 return; | |
28 } | |
29 static void _closeWindow(receiver) native; | |
30 | |
31 void copyText(String text) { | |
32 _copyText(this, text); | |
33 return; | |
34 } | |
35 static void _copyText(receiver, text) native; | |
36 | |
37 String hiddenPanels() { | |
38 return _hiddenPanels(this); | |
39 } | |
40 static String _hiddenPanels(receiver) native; | |
41 | |
42 void inspectedURLChanged(String newURL) { | |
43 _inspectedURLChanged(this, newURL); | |
44 return; | |
45 } | |
46 static void _inspectedURLChanged(receiver, newURL) native; | |
47 | |
48 String loadResourceSynchronously(String url) { | |
49 return _loadResourceSynchronously(this, url); | |
50 } | |
51 static String _loadResourceSynchronously(receiver, url) native; | |
52 | |
53 void loaded() { | |
54 _loaded(this); | |
55 return; | |
56 } | |
57 static void _loaded(receiver) native; | |
58 | |
59 String localizedStringsURL() { | |
60 return _localizedStringsURL(this); | |
61 } | |
62 static String _localizedStringsURL(receiver) native; | |
63 | |
64 void moveWindowBy(num x, num y) { | |
65 _moveWindowBy(this, x, y); | |
66 return; | |
67 } | |
68 static void _moveWindowBy(receiver, x, y) native; | |
69 | |
70 void openInNewTab(String url) { | |
71 _openInNewTab(this, url); | |
72 return; | |
73 } | |
74 static void _openInNewTab(receiver, url) native; | |
75 | |
76 String platform() { | |
77 return _platform(this); | |
78 } | |
79 static String _platform(receiver) native; | |
80 | |
81 String port() { | |
82 return _port(this); | |
83 } | |
84 static String _port(receiver) native; | |
85 | |
86 void recordActionTaken(int actionCode) { | |
87 _recordActionTaken(this, actionCode); | |
88 return; | |
89 } | |
90 static void _recordActionTaken(receiver, actionCode) native; | |
91 | |
92 void recordPanelShown(int panelCode) { | |
93 _recordPanelShown(this, panelCode); | |
94 return; | |
95 } | |
96 static void _recordPanelShown(receiver, panelCode) native; | |
97 | |
98 void recordSettingChanged(int settingChanged) { | |
99 _recordSettingChanged(this, settingChanged); | |
100 return; | |
101 } | |
102 static void _recordSettingChanged(receiver, settingChanged) native; | |
103 | |
104 void requestAttachWindow() { | |
105 _requestAttachWindow(this); | |
106 return; | |
107 } | |
108 static void _requestAttachWindow(receiver) native; | |
109 | |
110 void requestDetachWindow() { | |
111 _requestDetachWindow(this); | |
112 return; | |
113 } | |
114 static void _requestDetachWindow(receiver) native; | |
115 | |
116 void requestSetDockSide(String side) { | |
117 _requestSetDockSide(this, side); | |
118 return; | |
119 } | |
120 static void _requestSetDockSide(receiver, side) native; | |
121 | |
122 void saveAs(String fileName, String content) { | |
123 _saveAs(this, fileName, content); | |
124 return; | |
125 } | |
126 static void _saveAs(receiver, fileName, content) native; | |
127 | |
128 void sendMessageToBackend(String message) { | |
129 _sendMessageToBackend(this, message); | |
130 return; | |
131 } | |
132 static void _sendMessageToBackend(receiver, message) native; | |
133 | |
134 void setAttachedWindowHeight(int height) { | |
135 _setAttachedWindowHeight(this, height); | |
136 return; | |
137 } | |
138 static void _setAttachedWindowHeight(receiver, height) native; | |
139 | |
140 void setInjectedScriptForOrigin(String origin, String script) { | |
141 _setInjectedScriptForOrigin(this, origin, script); | |
142 return; | |
143 } | |
144 static void _setInjectedScriptForOrigin(receiver, origin, script) native; | |
145 | |
146 void showContextMenu(MouseEvent event, Object items) { | |
147 _showContextMenu(this, event, items); | |
148 return; | |
149 } | |
150 static void _showContextMenu(receiver, event, items) native; | |
151 | |
152 String get typeName() { return "InspectorFrontendHost"; } | |
153 } | |
OLD | NEW |