| 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 _DOMWindowWrappingImplementation extends DOMWrapperBase implements DOMWind
ow { | 7 class _DOMWindowWrappingImplementation extends DOMWrapperBase implements DOMWind
ow { |
| 8 _DOMWindowWrappingImplementation() : super() {} | 8 _DOMWindowWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__DOMWindowWrappingImplementation() native { | 10 static create__DOMWindowWrappingImplementation() native { |
| 11 return new _DOMWindowWrappingImplementation(); | 11 return new _DOMWindowWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 DOMApplicationCache get applicationCache() { return _get_applicationCache(this
); } | 14 DOMApplicationCache get applicationCache() { return _get_applicationCache(this
); } |
| 15 static DOMApplicationCache _get_applicationCache(var _this) native; | 15 static DOMApplicationCache _get_applicationCache(var _this) native; |
| 16 | 16 |
| 17 Navigator get clientInformation() { return _get_clientInformation(this); } | 17 Navigator get clientInformation() { return _get_clientInformation(this); } |
| 18 static Navigator _get_clientInformation(var _this) native; | 18 static Navigator _get_clientInformation(var _this) native; |
| 19 | 19 |
| 20 void set clientInformation(Navigator value) { _set_clientInformation(this, val
ue); } | |
| 21 static void _set_clientInformation(var _this, Navigator value) native; | |
| 22 | |
| 23 bool get closed() { return _get_closed(this); } | 20 bool get closed() { return _get_closed(this); } |
| 24 static bool _get_closed(var _this) native; | 21 static bool _get_closed(var _this) native; |
| 25 | 22 |
| 26 Console get console() { return _get_console(this); } | 23 Console get console() { return _get_console(this); } |
| 27 static Console _get_console(var _this) native; | 24 static Console _get_console(var _this) native; |
| 28 | 25 |
| 29 void set console(Console value) { _set_console(this, value); } | |
| 30 static void _set_console(var _this, Console value) native; | |
| 31 | |
| 32 Crypto get crypto() { return _get_crypto(this); } | 26 Crypto get crypto() { return _get_crypto(this); } |
| 33 static Crypto _get_crypto(var _this) native; | 27 static Crypto _get_crypto(var _this) native; |
| 34 | 28 |
| 35 String get defaultStatus() { return _get_defaultStatus(this); } | 29 String get defaultStatus() { return _get_defaultStatus(this); } |
| 36 static String _get_defaultStatus(var _this) native; | 30 static String _get_defaultStatus(var _this) native; |
| 37 | 31 |
| 38 void set defaultStatus(String value) { _set_defaultStatus(this, value); } | 32 void set defaultStatus(String value) { _set_defaultStatus(this, value); } |
| 39 static void _set_defaultStatus(var _this, String value) native; | 33 static void _set_defaultStatus(var _this, String value) native; |
| 40 | 34 |
| 41 String get defaultstatus() { return _get_defaultstatus(this); } | 35 String get defaultstatus() { return _get_defaultstatus(this); } |
| 42 static String _get_defaultstatus(var _this) native; | 36 static String _get_defaultstatus(var _this) native; |
| 43 | 37 |
| 44 void set defaultstatus(String value) { _set_defaultstatus(this, value); } | 38 void set defaultstatus(String value) { _set_defaultstatus(this, value); } |
| 45 static void _set_defaultstatus(var _this, String value) native; | 39 static void _set_defaultstatus(var _this, String value) native; |
| 46 | 40 |
| 47 num get devicePixelRatio() { return _get_devicePixelRatio(this); } | 41 num get devicePixelRatio() { return _get_devicePixelRatio(this); } |
| 48 static num _get_devicePixelRatio(var _this) native; | 42 static num _get_devicePixelRatio(var _this) native; |
| 49 | 43 |
| 50 void set devicePixelRatio(num value) { _set_devicePixelRatio(this, value); } | |
| 51 static void _set_devicePixelRatio(var _this, num value) native; | |
| 52 | |
| 53 Document get document() { return _get_document(this); } | 44 Document get document() { return _get_document(this); } |
| 54 static Document _get_document(var _this) native; | 45 static Document _get_document(var _this) native; |
| 55 | 46 |
| 56 Event get event() { return _get_event(this); } | 47 Event get event() { return _get_event(this); } |
| 57 static Event _get_event(var _this) native; | 48 static Event _get_event(var _this) native; |
| 58 | 49 |
| 59 void set event(Event value) { _set_event(this, value); } | |
| 60 static void _set_event(var _this, Event value) native; | |
| 61 | |
| 62 Element get frameElement() { return _get_frameElement(this); } | 50 Element get frameElement() { return _get_frameElement(this); } |
| 63 static Element _get_frameElement(var _this) native; | 51 static Element _get_frameElement(var _this) native; |
| 64 | 52 |
| 65 DOMWindow get frames() { return _get_frames(this); } | 53 DOMWindow get frames() { return _get_frames(this); } |
| 66 static DOMWindow _get_frames(var _this) native; | 54 static DOMWindow _get_frames(var _this) native; |
| 67 | 55 |
| 68 void set frames(DOMWindow value) { _set_frames(this, value); } | |
| 69 static void _set_frames(var _this, DOMWindow value) native; | |
| 70 | |
| 71 History get history() { return _get_history(this); } | 56 History get history() { return _get_history(this); } |
| 72 static History _get_history(var _this) native; | 57 static History _get_history(var _this) native; |
| 73 | 58 |
| 74 void set history(History value) { _set_history(this, value); } | |
| 75 static void _set_history(var _this, History value) native; | |
| 76 | |
| 77 int get innerHeight() { return _get_innerHeight(this); } | 59 int get innerHeight() { return _get_innerHeight(this); } |
| 78 static int _get_innerHeight(var _this) native; | 60 static int _get_innerHeight(var _this) native; |
| 79 | 61 |
| 80 void set innerHeight(int value) { _set_innerHeight(this, value); } | |
| 81 static void _set_innerHeight(var _this, int value) native; | |
| 82 | |
| 83 int get innerWidth() { return _get_innerWidth(this); } | 62 int get innerWidth() { return _get_innerWidth(this); } |
| 84 static int _get_innerWidth(var _this) native; | 63 static int _get_innerWidth(var _this) native; |
| 85 | 64 |
| 86 void set innerWidth(int value) { _set_innerWidth(this, value); } | |
| 87 static void _set_innerWidth(var _this, int value) native; | |
| 88 | |
| 89 int get length() { return _get_length(this); } | 65 int get length() { return _get_length(this); } |
| 90 static int _get_length(var _this) native; | 66 static int _get_length(var _this) native; |
| 91 | 67 |
| 92 void set length(int value) { _set_length(this, value); } | |
| 93 static void _set_length(var _this, int value) native; | |
| 94 | |
| 95 Storage get localStorage() { return _get_localStorage(this); } | 68 Storage get localStorage() { return _get_localStorage(this); } |
| 96 static Storage _get_localStorage(var _this) native; | 69 static Storage _get_localStorage(var _this) native; |
| 97 | 70 |
| 98 Location get location() { return _get_location(this); } | 71 Location get location() { return _get_location(this); } |
| 99 static Location _get_location(var _this) native; | 72 static Location _get_location(var _this) native; |
| 100 | 73 |
| 101 void set location(Location value) { _set_location(this, value); } | 74 void set location(Location value) { _set_location(this, value); } |
| 102 static void _set_location(var _this, Location value) native; | 75 static void _set_location(var _this, Location value) native; |
| 103 | 76 |
| 104 BarInfo get locationbar() { return _get_locationbar(this); } | 77 BarInfo get locationbar() { return _get_locationbar(this); } |
| 105 static BarInfo _get_locationbar(var _this) native; | 78 static BarInfo _get_locationbar(var _this) native; |
| 106 | 79 |
| 107 void set locationbar(BarInfo value) { _set_locationbar(this, value); } | |
| 108 static void _set_locationbar(var _this, BarInfo value) native; | |
| 109 | |
| 110 BarInfo get menubar() { return _get_menubar(this); } | 80 BarInfo get menubar() { return _get_menubar(this); } |
| 111 static BarInfo _get_menubar(var _this) native; | 81 static BarInfo _get_menubar(var _this) native; |
| 112 | 82 |
| 113 void set menubar(BarInfo value) { _set_menubar(this, value); } | |
| 114 static void _set_menubar(var _this, BarInfo value) native; | |
| 115 | |
| 116 String get name() { return _get_name(this); } | 83 String get name() { return _get_name(this); } |
| 117 static String _get_name(var _this) native; | 84 static String _get_name(var _this) native; |
| 118 | 85 |
| 119 void set name(String value) { _set_name(this, value); } | 86 void set name(String value) { _set_name(this, value); } |
| 120 static void _set_name(var _this, String value) native; | 87 static void _set_name(var _this, String value) native; |
| 121 | 88 |
| 122 Navigator get navigator() { return _get_navigator(this); } | 89 Navigator get navigator() { return _get_navigator(this); } |
| 123 static Navigator _get_navigator(var _this) native; | 90 static Navigator _get_navigator(var _this) native; |
| 124 | 91 |
| 125 void set navigator(Navigator value) { _set_navigator(this, value); } | |
| 126 static void _set_navigator(var _this, Navigator value) native; | |
| 127 | |
| 128 bool get offscreenBuffering() { return _get_offscreenBuffering(this); } | 92 bool get offscreenBuffering() { return _get_offscreenBuffering(this); } |
| 129 static bool _get_offscreenBuffering(var _this) native; | 93 static bool _get_offscreenBuffering(var _this) native; |
| 130 | 94 |
| 131 void set offscreenBuffering(bool value) { _set_offscreenBuffering(this, value)
; } | |
| 132 static void _set_offscreenBuffering(var _this, bool value) native; | |
| 133 | |
| 134 DOMWindow get opener() { return _get_opener(this); } | 95 DOMWindow get opener() { return _get_opener(this); } |
| 135 static DOMWindow _get_opener(var _this) native; | 96 static DOMWindow _get_opener(var _this) native; |
| 136 | 97 |
| 137 void set opener(DOMWindow value) { _set_opener(this, value); } | |
| 138 static void _set_opener(var _this, DOMWindow value) native; | |
| 139 | |
| 140 int get outerHeight() { return _get_outerHeight(this); } | 98 int get outerHeight() { return _get_outerHeight(this); } |
| 141 static int _get_outerHeight(var _this) native; | 99 static int _get_outerHeight(var _this) native; |
| 142 | 100 |
| 143 void set outerHeight(int value) { _set_outerHeight(this, value); } | |
| 144 static void _set_outerHeight(var _this, int value) native; | |
| 145 | |
| 146 int get outerWidth() { return _get_outerWidth(this); } | 101 int get outerWidth() { return _get_outerWidth(this); } |
| 147 static int _get_outerWidth(var _this) native; | 102 static int _get_outerWidth(var _this) native; |
| 148 | 103 |
| 149 void set outerWidth(int value) { _set_outerWidth(this, value); } | |
| 150 static void _set_outerWidth(var _this, int value) native; | |
| 151 | |
| 152 int get pageXOffset() { return _get_pageXOffset(this); } | 104 int get pageXOffset() { return _get_pageXOffset(this); } |
| 153 static int _get_pageXOffset(var _this) native; | 105 static int _get_pageXOffset(var _this) native; |
| 154 | 106 |
| 155 int get pageYOffset() { return _get_pageYOffset(this); } | 107 int get pageYOffset() { return _get_pageYOffset(this); } |
| 156 static int _get_pageYOffset(var _this) native; | 108 static int _get_pageYOffset(var _this) native; |
| 157 | 109 |
| 158 DOMWindow get parent() { return _get_parent(this); } | 110 DOMWindow get parent() { return _get_parent(this); } |
| 159 static DOMWindow _get_parent(var _this) native; | 111 static DOMWindow _get_parent(var _this) native; |
| 160 | 112 |
| 161 void set parent(DOMWindow value) { _set_parent(this, value); } | |
| 162 static void _set_parent(var _this, DOMWindow value) native; | |
| 163 | |
| 164 Performance get performance() { return _get_performance(this); } | 113 Performance get performance() { return _get_performance(this); } |
| 165 static Performance _get_performance(var _this) native; | 114 static Performance _get_performance(var _this) native; |
| 166 | 115 |
| 167 void set performance(Performance value) { _set_performance(this, value); } | |
| 168 static void _set_performance(var _this, Performance value) native; | |
| 169 | |
| 170 BarInfo get personalbar() { return _get_personalbar(this); } | 116 BarInfo get personalbar() { return _get_personalbar(this); } |
| 171 static BarInfo _get_personalbar(var _this) native; | 117 static BarInfo _get_personalbar(var _this) native; |
| 172 | 118 |
| 173 void set personalbar(BarInfo value) { _set_personalbar(this, value); } | |
| 174 static void _set_personalbar(var _this, BarInfo value) native; | |
| 175 | |
| 176 Screen get screen() { return _get_screen(this); } | 119 Screen get screen() { return _get_screen(this); } |
| 177 static Screen _get_screen(var _this) native; | 120 static Screen _get_screen(var _this) native; |
| 178 | 121 |
| 179 void set screen(Screen value) { _set_screen(this, value); } | |
| 180 static void _set_screen(var _this, Screen value) native; | |
| 181 | |
| 182 int get screenLeft() { return _get_screenLeft(this); } | 122 int get screenLeft() { return _get_screenLeft(this); } |
| 183 static int _get_screenLeft(var _this) native; | 123 static int _get_screenLeft(var _this) native; |
| 184 | 124 |
| 185 void set screenLeft(int value) { _set_screenLeft(this, value); } | |
| 186 static void _set_screenLeft(var _this, int value) native; | |
| 187 | |
| 188 int get screenTop() { return _get_screenTop(this); } | 125 int get screenTop() { return _get_screenTop(this); } |
| 189 static int _get_screenTop(var _this) native; | 126 static int _get_screenTop(var _this) native; |
| 190 | 127 |
| 191 void set screenTop(int value) { _set_screenTop(this, value); } | |
| 192 static void _set_screenTop(var _this, int value) native; | |
| 193 | |
| 194 int get screenX() { return _get_screenX(this); } | 128 int get screenX() { return _get_screenX(this); } |
| 195 static int _get_screenX(var _this) native; | 129 static int _get_screenX(var _this) native; |
| 196 | 130 |
| 197 void set screenX(int value) { _set_screenX(this, value); } | |
| 198 static void _set_screenX(var _this, int value) native; | |
| 199 | |
| 200 int get screenY() { return _get_screenY(this); } | 131 int get screenY() { return _get_screenY(this); } |
| 201 static int _get_screenY(var _this) native; | 132 static int _get_screenY(var _this) native; |
| 202 | 133 |
| 203 void set screenY(int value) { _set_screenY(this, value); } | |
| 204 static void _set_screenY(var _this, int value) native; | |
| 205 | |
| 206 int get scrollX() { return _get_scrollX(this); } | 134 int get scrollX() { return _get_scrollX(this); } |
| 207 static int _get_scrollX(var _this) native; | 135 static int _get_scrollX(var _this) native; |
| 208 | 136 |
| 209 void set scrollX(int value) { _set_scrollX(this, value); } | |
| 210 static void _set_scrollX(var _this, int value) native; | |
| 211 | |
| 212 int get scrollY() { return _get_scrollY(this); } | 137 int get scrollY() { return _get_scrollY(this); } |
| 213 static int _get_scrollY(var _this) native; | 138 static int _get_scrollY(var _this) native; |
| 214 | 139 |
| 215 void set scrollY(int value) { _set_scrollY(this, value); } | |
| 216 static void _set_scrollY(var _this, int value) native; | |
| 217 | |
| 218 BarInfo get scrollbars() { return _get_scrollbars(this); } | 140 BarInfo get scrollbars() { return _get_scrollbars(this); } |
| 219 static BarInfo _get_scrollbars(var _this) native; | 141 static BarInfo _get_scrollbars(var _this) native; |
| 220 | 142 |
| 221 void set scrollbars(BarInfo value) { _set_scrollbars(this, value); } | |
| 222 static void _set_scrollbars(var _this, BarInfo value) native; | |
| 223 | |
| 224 DOMWindow get self() { return _get_self(this); } | 143 DOMWindow get self() { return _get_self(this); } |
| 225 static DOMWindow _get_self(var _this) native; | 144 static DOMWindow _get_self(var _this) native; |
| 226 | 145 |
| 227 void set self(DOMWindow value) { _set_self(this, value); } | |
| 228 static void _set_self(var _this, DOMWindow value) native; | |
| 229 | |
| 230 Storage get sessionStorage() { return _get_sessionStorage(this); } | 146 Storage get sessionStorage() { return _get_sessionStorage(this); } |
| 231 static Storage _get_sessionStorage(var _this) native; | 147 static Storage _get_sessionStorage(var _this) native; |
| 232 | 148 |
| 233 String get status() { return _get_status(this); } | 149 String get status() { return _get_status(this); } |
| 234 static String _get_status(var _this) native; | 150 static String _get_status(var _this) native; |
| 235 | 151 |
| 236 void set status(String value) { _set_status(this, value); } | 152 void set status(String value) { _set_status(this, value); } |
| 237 static void _set_status(var _this, String value) native; | 153 static void _set_status(var _this, String value) native; |
| 238 | 154 |
| 239 BarInfo get statusbar() { return _get_statusbar(this); } | 155 BarInfo get statusbar() { return _get_statusbar(this); } |
| 240 static BarInfo _get_statusbar(var _this) native; | 156 static BarInfo _get_statusbar(var _this) native; |
| 241 | 157 |
| 242 void set statusbar(BarInfo value) { _set_statusbar(this, value); } | |
| 243 static void _set_statusbar(var _this, BarInfo value) native; | |
| 244 | |
| 245 StyleMedia get styleMedia() { return _get_styleMedia(this); } | 158 StyleMedia get styleMedia() { return _get_styleMedia(this); } |
| 246 static StyleMedia _get_styleMedia(var _this) native; | 159 static StyleMedia _get_styleMedia(var _this) native; |
| 247 | 160 |
| 248 BarInfo get toolbar() { return _get_toolbar(this); } | 161 BarInfo get toolbar() { return _get_toolbar(this); } |
| 249 static BarInfo _get_toolbar(var _this) native; | 162 static BarInfo _get_toolbar(var _this) native; |
| 250 | 163 |
| 251 void set toolbar(BarInfo value) { _set_toolbar(this, value); } | |
| 252 static void _set_toolbar(var _this, BarInfo value) native; | |
| 253 | |
| 254 DOMWindow get top() { return _get_top(this); } | 164 DOMWindow get top() { return _get_top(this); } |
| 255 static DOMWindow _get_top(var _this) native; | 165 static DOMWindow _get_top(var _this) native; |
| 256 | 166 |
| 257 void set top(DOMWindow value) { _set_top(this, value); } | |
| 258 static void _set_top(var _this, DOMWindow value) native; | |
| 259 | |
| 260 IDBFactory get webkitIndexedDB() { return _get_webkitIndexedDB(this); } | 167 IDBFactory get webkitIndexedDB() { return _get_webkitIndexedDB(this); } |
| 261 static IDBFactory _get_webkitIndexedDB(var _this) native; | 168 static IDBFactory _get_webkitIndexedDB(var _this) native; |
| 262 | 169 |
| 263 NotificationCenter get webkitNotifications() { return _get_webkitNotifications
(this); } | 170 NotificationCenter get webkitNotifications() { return _get_webkitNotifications
(this); } |
| 264 static NotificationCenter _get_webkitNotifications(var _this) native; | 171 static NotificationCenter _get_webkitNotifications(var _this) native; |
| 265 | 172 |
| 266 StorageInfo get webkitStorageInfo() { return _get_webkitStorageInfo(this); } | 173 StorageInfo get webkitStorageInfo() { return _get_webkitStorageInfo(this); } |
| 267 static StorageInfo _get_webkitStorageInfo(var _this) native; | 174 static StorageInfo _get_webkitStorageInfo(var _this) native; |
| 268 | 175 |
| 269 DOMURL get webkitURL() { return _get_webkitURL(this); } | |
| 270 static DOMURL _get_webkitURL(var _this) native; | |
| 271 | |
| 272 DOMWindow get window() { return _get_window(this); } | 176 DOMWindow get window() { return _get_window(this); } |
| 273 static DOMWindow _get_window(var _this) native; | 177 static DOMWindow _get_window(var _this) native; |
| 274 | 178 |
| 275 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | 179 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { |
| 276 if (useCapture === null) { | 180 if (useCapture === null) { |
| 277 _addEventListener_DOMWindow(this, type, listener); | 181 _addEventListener_DOMWindow(this, type, listener); |
| 278 return; | 182 return; |
| 279 } else { | 183 } else { |
| 280 _addEventListener_DOMWindow_2(this, type, listener, useCapture); | 184 _addEventListener_DOMWindow_2(this, type, listener, useCapture); |
| 281 return; | 185 return; |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 } | 479 } |
| 576 } | 480 } |
| 577 throw "Incorrect number or type of arguments"; | 481 throw "Incorrect number or type of arguments"; |
| 578 } | 482 } |
| 579 static void _webkitResolveLocalFileSystemURL(receiver, url) native; | 483 static void _webkitResolveLocalFileSystemURL(receiver, url) native; |
| 580 static void _webkitResolveLocalFileSystemURL_2(receiver, url, successCallback)
native; | 484 static void _webkitResolveLocalFileSystemURL_2(receiver, url, successCallback)
native; |
| 581 static void _webkitResolveLocalFileSystemURL_3(receiver, url, successCallback,
errorCallback) native; | 485 static void _webkitResolveLocalFileSystemURL_3(receiver, url, successCallback,
errorCallback) native; |
| 582 | 486 |
| 583 String get typeName() { return "DOMWindow"; } | 487 String get typeName() { return "DOMWindow"; } |
| 584 } | 488 } |
| OLD | NEW |