OLD | NEW |
1 | 1 |
2 class DOMWindowJs extends DOMTypeJs implements DOMWindow native "@*DOMWindow" { | 2 class _DOMWindowJs extends _DOMTypeJs implements DOMWindow native "@*DOMWindow"
{ |
3 | 3 |
4 static final int PERSISTENT = 1; | 4 static final int PERSISTENT = 1; |
5 | 5 |
6 static final int TEMPORARY = 0; | 6 static final int TEMPORARY = 0; |
7 | 7 |
8 DOMApplicationCacheJs get applicationCache() native "return this.applicationCa
che;"; | 8 _DOMApplicationCacheJs get applicationCache() native "return this.applicationC
ache;"; |
9 | 9 |
10 NavigatorJs get clientInformation() native "return this.clientInformation;"; | 10 _NavigatorJs get clientInformation() native "return this.clientInformation;"; |
11 | 11 |
12 void set clientInformation(NavigatorJs value) native "this.clientInformation =
value;"; | 12 void set clientInformation(_NavigatorJs value) native "this.clientInformation
= value;"; |
13 | 13 |
14 bool get closed() native "return this.closed;"; | 14 bool get closed() native "return this.closed;"; |
15 | 15 |
16 ConsoleJs get console() native "return this.console;"; | 16 _ConsoleJs get console() native "return this.console;"; |
17 | 17 |
18 void set console(ConsoleJs value) native "this.console = value;"; | 18 void set console(_ConsoleJs value) native "this.console = value;"; |
19 | 19 |
20 CryptoJs get crypto() native "return this.crypto;"; | 20 _CryptoJs get crypto() native "return this.crypto;"; |
21 | 21 |
22 String get defaultStatus() native "return this.defaultStatus;"; | 22 String get defaultStatus() native "return this.defaultStatus;"; |
23 | 23 |
24 void set defaultStatus(String value) native "this.defaultStatus = value;"; | 24 void set defaultStatus(String value) native "this.defaultStatus = value;"; |
25 | 25 |
26 String get defaultstatus() native "return this.defaultstatus;"; | 26 String get defaultstatus() native "return this.defaultstatus;"; |
27 | 27 |
28 void set defaultstatus(String value) native "this.defaultstatus = value;"; | 28 void set defaultstatus(String value) native "this.defaultstatus = value;"; |
29 | 29 |
30 num get devicePixelRatio() native "return this.devicePixelRatio;"; | 30 num get devicePixelRatio() native "return this.devicePixelRatio;"; |
31 | 31 |
32 void set devicePixelRatio(num value) native "this.devicePixelRatio = value;"; | 32 void set devicePixelRatio(num value) native "this.devicePixelRatio = value;"; |
33 | 33 |
34 DocumentJs get document() native "return this.document;"; | 34 _DocumentJs get document() native "return this.document;"; |
35 | 35 |
36 EventJs get event() native "return this.event;"; | 36 _EventJs get event() native "return this.event;"; |
37 | 37 |
38 void set event(EventJs value) native "this.event = value;"; | 38 void set event(_EventJs value) native "this.event = value;"; |
39 | 39 |
40 ElementJs get frameElement() native "return this.frameElement;"; | 40 _ElementJs get frameElement() native "return this.frameElement;"; |
41 | 41 |
42 DOMWindowJs get frames() native "return this.frames;"; | 42 _DOMWindowJs get frames() native "return this.frames;"; |
43 | 43 |
44 void set frames(DOMWindowJs value) native "this.frames = value;"; | 44 void set frames(_DOMWindowJs value) native "this.frames = value;"; |
45 | 45 |
46 HistoryJs get history() native "return this.history;"; | 46 _HistoryJs get history() native "return this.history;"; |
47 | 47 |
48 void set history(HistoryJs value) native "this.history = value;"; | 48 void set history(_HistoryJs value) native "this.history = value;"; |
49 | 49 |
50 int get innerHeight() native "return this.innerHeight;"; | 50 int get innerHeight() native "return this.innerHeight;"; |
51 | 51 |
52 void set innerHeight(int value) native "this.innerHeight = value;"; | 52 void set innerHeight(int value) native "this.innerHeight = value;"; |
53 | 53 |
54 int get innerWidth() native "return this.innerWidth;"; | 54 int get innerWidth() native "return this.innerWidth;"; |
55 | 55 |
56 void set innerWidth(int value) native "this.innerWidth = value;"; | 56 void set innerWidth(int value) native "this.innerWidth = value;"; |
57 | 57 |
58 int get length() native "return this.length;"; | 58 int get length() native "return this.length;"; |
59 | 59 |
60 void set length(int value) native "this.length = value;"; | 60 void set length(int value) native "this.length = value;"; |
61 | 61 |
62 StorageJs get localStorage() native "return this.localStorage;"; | 62 _StorageJs get localStorage() native "return this.localStorage;"; |
63 | 63 |
64 LocationJs get location() native "return this.location;"; | 64 _LocationJs get location() native "return this.location;"; |
65 | 65 |
66 void set location(LocationJs value) native "this.location = value;"; | 66 void set location(_LocationJs value) native "this.location = value;"; |
67 | 67 |
68 BarInfoJs get locationbar() native "return this.locationbar;"; | 68 _BarInfoJs get locationbar() native "return this.locationbar;"; |
69 | 69 |
70 void set locationbar(BarInfoJs value) native "this.locationbar = value;"; | 70 void set locationbar(_BarInfoJs value) native "this.locationbar = value;"; |
71 | 71 |
72 BarInfoJs get menubar() native "return this.menubar;"; | 72 _BarInfoJs get menubar() native "return this.menubar;"; |
73 | 73 |
74 void set menubar(BarInfoJs value) native "this.menubar = value;"; | 74 void set menubar(_BarInfoJs value) native "this.menubar = value;"; |
75 | 75 |
76 String get name() native "return this.name;"; | 76 String get name() native "return this.name;"; |
77 | 77 |
78 void set name(String value) native "this.name = value;"; | 78 void set name(String value) native "this.name = value;"; |
79 | 79 |
80 NavigatorJs get navigator() native "return this.navigator;"; | 80 _NavigatorJs get navigator() native "return this.navigator;"; |
81 | 81 |
82 void set navigator(NavigatorJs value) native "this.navigator = value;"; | 82 void set navigator(_NavigatorJs value) native "this.navigator = value;"; |
83 | 83 |
84 bool get offscreenBuffering() native "return this.offscreenBuffering;"; | 84 bool get offscreenBuffering() native "return this.offscreenBuffering;"; |
85 | 85 |
86 void set offscreenBuffering(bool value) native "this.offscreenBuffering = valu
e;"; | 86 void set offscreenBuffering(bool value) native "this.offscreenBuffering = valu
e;"; |
87 | 87 |
88 DOMWindowJs get opener() native "return this.opener;"; | 88 _DOMWindowJs get opener() native "return this.opener;"; |
89 | 89 |
90 void set opener(DOMWindowJs value) native "this.opener = value;"; | 90 void set opener(_DOMWindowJs value) native "this.opener = value;"; |
91 | 91 |
92 int get outerHeight() native "return this.outerHeight;"; | 92 int get outerHeight() native "return this.outerHeight;"; |
93 | 93 |
94 void set outerHeight(int value) native "this.outerHeight = value;"; | 94 void set outerHeight(int value) native "this.outerHeight = value;"; |
95 | 95 |
96 int get outerWidth() native "return this.outerWidth;"; | 96 int get outerWidth() native "return this.outerWidth;"; |
97 | 97 |
98 void set outerWidth(int value) native "this.outerWidth = value;"; | 98 void set outerWidth(int value) native "this.outerWidth = value;"; |
99 | 99 |
100 int get pageXOffset() native "return this.pageXOffset;"; | 100 int get pageXOffset() native "return this.pageXOffset;"; |
101 | 101 |
102 int get pageYOffset() native "return this.pageYOffset;"; | 102 int get pageYOffset() native "return this.pageYOffset;"; |
103 | 103 |
104 DOMWindowJs get parent() native "return this.parent;"; | 104 _DOMWindowJs get parent() native "return this.parent;"; |
105 | 105 |
106 void set parent(DOMWindowJs value) native "this.parent = value;"; | 106 void set parent(_DOMWindowJs value) native "this.parent = value;"; |
107 | 107 |
108 PerformanceJs get performance() native "return this.performance;"; | 108 _PerformanceJs get performance() native "return this.performance;"; |
109 | 109 |
110 void set performance(PerformanceJs value) native "this.performance = value;"; | 110 void set performance(_PerformanceJs value) native "this.performance = value;"; |
111 | 111 |
112 BarInfoJs get personalbar() native "return this.personalbar;"; | 112 _BarInfoJs get personalbar() native "return this.personalbar;"; |
113 | 113 |
114 void set personalbar(BarInfoJs value) native "this.personalbar = value;"; | 114 void set personalbar(_BarInfoJs value) native "this.personalbar = value;"; |
115 | 115 |
116 ScreenJs get screen() native "return this.screen;"; | 116 _ScreenJs get screen() native "return this.screen;"; |
117 | 117 |
118 void set screen(ScreenJs value) native "this.screen = value;"; | 118 void set screen(_ScreenJs value) native "this.screen = value;"; |
119 | 119 |
120 int get screenLeft() native "return this.screenLeft;"; | 120 int get screenLeft() native "return this.screenLeft;"; |
121 | 121 |
122 void set screenLeft(int value) native "this.screenLeft = value;"; | 122 void set screenLeft(int value) native "this.screenLeft = value;"; |
123 | 123 |
124 int get screenTop() native "return this.screenTop;"; | 124 int get screenTop() native "return this.screenTop;"; |
125 | 125 |
126 void set screenTop(int value) native "this.screenTop = value;"; | 126 void set screenTop(int value) native "this.screenTop = value;"; |
127 | 127 |
128 int get screenX() native "return this.screenX;"; | 128 int get screenX() native "return this.screenX;"; |
129 | 129 |
130 void set screenX(int value) native "this.screenX = value;"; | 130 void set screenX(int value) native "this.screenX = value;"; |
131 | 131 |
132 int get screenY() native "return this.screenY;"; | 132 int get screenY() native "return this.screenY;"; |
133 | 133 |
134 void set screenY(int value) native "this.screenY = value;"; | 134 void set screenY(int value) native "this.screenY = value;"; |
135 | 135 |
136 int get scrollX() native "return this.scrollX;"; | 136 int get scrollX() native "return this.scrollX;"; |
137 | 137 |
138 void set scrollX(int value) native "this.scrollX = value;"; | 138 void set scrollX(int value) native "this.scrollX = value;"; |
139 | 139 |
140 int get scrollY() native "return this.scrollY;"; | 140 int get scrollY() native "return this.scrollY;"; |
141 | 141 |
142 void set scrollY(int value) native "this.scrollY = value;"; | 142 void set scrollY(int value) native "this.scrollY = value;"; |
143 | 143 |
144 BarInfoJs get scrollbars() native "return this.scrollbars;"; | 144 _BarInfoJs get scrollbars() native "return this.scrollbars;"; |
145 | 145 |
146 void set scrollbars(BarInfoJs value) native "this.scrollbars = value;"; | 146 void set scrollbars(_BarInfoJs value) native "this.scrollbars = value;"; |
147 | 147 |
148 DOMWindowJs get self() native "return this.self;"; | 148 _DOMWindowJs get self() native "return this.self;"; |
149 | 149 |
150 void set self(DOMWindowJs value) native "this.self = value;"; | 150 void set self(_DOMWindowJs value) native "this.self = value;"; |
151 | 151 |
152 StorageJs get sessionStorage() native "return this.sessionStorage;"; | 152 _StorageJs get sessionStorage() native "return this.sessionStorage;"; |
153 | 153 |
154 String get status() native "return this.status;"; | 154 String get status() native "return this.status;"; |
155 | 155 |
156 void set status(String value) native "this.status = value;"; | 156 void set status(String value) native "this.status = value;"; |
157 | 157 |
158 BarInfoJs get statusbar() native "return this.statusbar;"; | 158 _BarInfoJs get statusbar() native "return this.statusbar;"; |
159 | 159 |
160 void set statusbar(BarInfoJs value) native "this.statusbar = value;"; | 160 void set statusbar(_BarInfoJs value) native "this.statusbar = value;"; |
161 | 161 |
162 StyleMediaJs get styleMedia() native "return this.styleMedia;"; | 162 _StyleMediaJs get styleMedia() native "return this.styleMedia;"; |
163 | 163 |
164 BarInfoJs get toolbar() native "return this.toolbar;"; | 164 _BarInfoJs get toolbar() native "return this.toolbar;"; |
165 | 165 |
166 void set toolbar(BarInfoJs value) native "this.toolbar = value;"; | 166 void set toolbar(_BarInfoJs value) native "this.toolbar = value;"; |
167 | 167 |
168 DOMWindowJs get top() native "return this.top;"; | 168 _DOMWindowJs get top() native "return this.top;"; |
169 | 169 |
170 void set top(DOMWindowJs value) native "this.top = value;"; | 170 void set top(_DOMWindowJs value) native "this.top = value;"; |
171 | 171 |
172 IDBFactoryJs get webkitIndexedDB() native "return this.webkitIndexedDB;"; | 172 _IDBFactoryJs get webkitIndexedDB() native "return this.webkitIndexedDB;"; |
173 | 173 |
174 NotificationCenterJs get webkitNotifications() native "return this.webkitNotif
ications;"; | 174 _NotificationCenterJs get webkitNotifications() native "return this.webkitNoti
fications;"; |
175 | 175 |
176 StorageInfoJs get webkitStorageInfo() native "return this.webkitStorageInfo;"; | 176 _StorageInfoJs get webkitStorageInfo() native "return this.webkitStorageInfo;"
; |
177 | 177 |
178 DOMURLJs get webkitURL() native "return this.webkitURL;"; | 178 _DOMURLJs get webkitURL() native "return this.webkitURL;"; |
179 | 179 |
180 DOMWindowJs get window() native "return this.window;"; | 180 _DOMWindowJs get window() native "return this.window;"; |
181 | 181 |
182 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 182 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
183 | 183 |
184 void alert(String message) native; | 184 void alert(String message) native; |
185 | 185 |
186 String atob(String string) native; | 186 String atob(String string) native; |
187 | 187 |
188 void blur() native; | 188 void blur() native; |
189 | 189 |
190 String btoa(String string) native; | 190 String btoa(String string) native; |
191 | 191 |
192 void captureEvents() native; | 192 void captureEvents() native; |
193 | 193 |
194 void clearInterval(int handle) native; | 194 void clearInterval(int handle) native; |
195 | 195 |
196 void clearTimeout(int handle) native; | 196 void clearTimeout(int handle) native; |
197 | 197 |
198 void close() native; | 198 void close() native; |
199 | 199 |
200 bool confirm(String message) native; | 200 bool confirm(String message) native; |
201 | 201 |
202 bool dispatchEvent(EventJs evt) native; | 202 bool dispatchEvent(_EventJs evt) native; |
203 | 203 |
204 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native; | 204 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w
holeWord, bool searchInFrames, bool showDialog) native; |
205 | 205 |
206 void focus() native; | 206 void focus() native; |
207 | 207 |
208 CSSStyleDeclarationJs getComputedStyle(ElementJs element, String pseudoElement
) native; | 208 _CSSStyleDeclarationJs getComputedStyle(_ElementJs element, String pseudoEleme
nt) native; |
209 | 209 |
210 CSSRuleListJs getMatchedCSSRules(ElementJs element, String pseudoElement) nati
ve; | 210 _CSSRuleListJs getMatchedCSSRules(_ElementJs element, String pseudoElement) na
tive; |
211 | 211 |
212 DOMSelectionJs getSelection() native; | 212 _DOMSelectionJs getSelection() native; |
213 | 213 |
214 MediaQueryListJs matchMedia(String query) native; | 214 _MediaQueryListJs matchMedia(String query) native; |
215 | 215 |
216 void moveBy(num x, num y) native; | 216 void moveBy(num x, num y) native; |
217 | 217 |
218 void moveTo(num x, num y) native; | 218 void moveTo(num x, num y) native; |
219 | 219 |
220 DOMWindowJs open(String url, String name, [String options = null]) native; | 220 _DOMWindowJs open(String url, String name, [String options = null]) native; |
221 | 221 |
222 DatabaseJs openDatabase(String name, String version, String displayName, int e
stimatedSize, [DatabaseCallback creationCallback = null]) native; | 222 _DatabaseJs openDatabase(String name, String version, String displayName, int
estimatedSize, [DatabaseCallback creationCallback = null]) native; |
223 | 223 |
224 void postMessage(Dynamic message, String targetOrigin, [List messagePorts = nu
ll]) native; | 224 void postMessage(Dynamic message, String targetOrigin, [List messagePorts = nu
ll]) native; |
225 | 225 |
226 void print() native; | 226 void print() native; |
227 | 227 |
228 String prompt(String message, String defaultValue) native; | 228 String prompt(String message, String defaultValue) native; |
229 | 229 |
230 void releaseEvents() native; | 230 void releaseEvents() native; |
231 | 231 |
232 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 232 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
(...skipping 13 matching lines...) Expand all Loading... |
246 int setTimeout(TimeoutHandler handler, int timeout) native; | 246 int setTimeout(TimeoutHandler handler, int timeout) native; |
247 | 247 |
248 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr
gs = null]) native; | 248 Object showModalDialog(String url, [Object dialogArgs = null, String featureAr
gs = null]) native; |
249 | 249 |
250 void stop() native; | 250 void stop() native; |
251 | 251 |
252 void webkitCancelAnimationFrame(int id) native; | 252 void webkitCancelAnimationFrame(int id) native; |
253 | 253 |
254 void webkitCancelRequestAnimationFrame(int id) native; | 254 void webkitCancelRequestAnimationFrame(int id) native; |
255 | 255 |
256 WebKitPointJs webkitConvertPointFromNodeToPage(NodeJs node, WebKitPointJs p) n
ative; | 256 _WebKitPointJs webkitConvertPointFromNodeToPage(_NodeJs node, _WebKitPointJs p
) native; |
257 | 257 |
258 WebKitPointJs webkitConvertPointFromPageToNode(NodeJs node, WebKitPointJs p) n
ative; | 258 _WebKitPointJs webkitConvertPointFromPageToNode(_NodeJs node, _WebKitPointJs p
) native; |
259 | 259 |
260 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis
t = null]) native; | 260 void webkitPostMessage(Dynamic message, String targetOrigin, [List transferLis
t = null]) native; |
261 | 261 |
262 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen
tJs element) native; | 262 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, _Eleme
ntJs element) native; |
263 | 263 |
264 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; | 264 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal
lback, [ErrorCallback errorCallback = null]) native; |
265 | 265 |
266 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; | 266 void webkitResolveLocalFileSystemURL(String url, [EntryCallback successCallbac
k = null, ErrorCallback errorCallback = null]) native; |
267 } | 267 } |
OLD | NEW |