Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(779)

Side by Side Diff: client/dom/generated/src/wrapping/_DOMWindowWrappingImplementation.dart

Issue 8895013: Add enables consistent with Chrome's WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Alpha the ENABLEs Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 {
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 void set toolbar(BarInfo value) { _set_toolbar(this, value); } 251 void set toolbar(BarInfo value) { _set_toolbar(this, value); }
252 static void _set_toolbar(var _this, BarInfo value) native; 252 static void _set_toolbar(var _this, BarInfo value) native;
253 253
254 DOMWindow get top() { return _get_top(this); } 254 DOMWindow get top() { return _get_top(this); }
255 static DOMWindow _get_top(var _this) native; 255 static DOMWindow _get_top(var _this) native;
256 256
257 void set top(DOMWindow value) { _set_top(this, value); } 257 void set top(DOMWindow value) { _set_top(this, value); }
258 static void _set_top(var _this, DOMWindow value) native; 258 static void _set_top(var _this, DOMWindow value) native;
259 259
260 IDBFactory get webkitIndexedDB() { return _get_webkitIndexedDB(this); }
261 static IDBFactory _get_webkitIndexedDB(var _this) native;
262
260 NotificationCenter get webkitNotifications() { return _get_webkitNotifications (this); } 263 NotificationCenter get webkitNotifications() { return _get_webkitNotifications (this); }
261 static NotificationCenter _get_webkitNotifications(var _this) native; 264 static NotificationCenter _get_webkitNotifications(var _this) native;
262 265
266 StorageInfo get webkitStorageInfo() { return _get_webkitStorageInfo(this); }
267 static StorageInfo _get_webkitStorageInfo(var _this) native;
268
263 DOMURL get webkitURL() { return _get_webkitURL(this); } 269 DOMURL get webkitURL() { return _get_webkitURL(this); }
264 static DOMURL _get_webkitURL(var _this) native; 270 static DOMURL _get_webkitURL(var _this) native;
265 271
266 DOMWindow get window() { return _get_window(this); } 272 DOMWindow get window() { return _get_window(this); }
267 static DOMWindow _get_window(var _this) native; 273 static DOMWindow _get_window(var _this) native;
268 274
269 void addEventListener(String type, EventListener listener, [bool useCapture = null]) { 275 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
270 if (useCapture === null) { 276 if (useCapture === null) {
271 _addEventListener_DOMWindow(this, type, listener); 277 _addEventListener_DOMWindow(this, type, listener);
272 return; 278 return;
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 DOMWindow open(String url, String name, [String options = null]) { 386 DOMWindow open(String url, String name, [String options = null]) {
381 if (options === null) { 387 if (options === null) {
382 return _open(this, url, name); 388 return _open(this, url, name);
383 } else { 389 } else {
384 return _open_2(this, url, name, options); 390 return _open_2(this, url, name, options);
385 } 391 }
386 } 392 }
387 static DOMWindow _open(receiver, url, name) native; 393 static DOMWindow _open(receiver, url, name) native;
388 static DOMWindow _open_2(receiver, url, name, options) native; 394 static DOMWindow _open_2(receiver, url, name, options) native;
389 395
396 Database openDatabase(String name, String version, String displayName, int est imatedSize, [DatabaseCallback creationCallback = null]) {
397 if (creationCallback === null) {
398 return _openDatabase(this, name, version, displayName, estimatedSize);
399 } else {
400 return _openDatabase_2(this, name, version, displayName, estimatedSize, cr eationCallback);
401 }
402 }
403 static Database _openDatabase(receiver, name, version, displayName, estimatedS ize) native;
404 static Database _openDatabase_2(receiver, name, version, displayName, estimate dSize, creationCallback) native;
405
390 void postMessage(String message, var messagePorts_OR_targetOrigin, [String tar getOrigin = null]) { 406 void postMessage(String message, var messagePorts_OR_targetOrigin, [String tar getOrigin = null]) {
391 if (messagePorts_OR_targetOrigin is String) { 407 if (messagePorts_OR_targetOrigin is String) {
392 if (targetOrigin === null) { 408 if (targetOrigin === null) {
393 _postMessage(this, message, messagePorts_OR_targetOrigin); 409 _postMessage(this, message, messagePorts_OR_targetOrigin);
394 return; 410 return;
395 } 411 }
396 } else { 412 } else {
397 if (messagePorts_OR_targetOrigin is List) { 413 if (messagePorts_OR_targetOrigin is List) {
398 _postMessage_2(this, message, messagePorts_OR_targetOrigin, targetOrigin ); 414 _postMessage_2(this, message, messagePorts_OR_targetOrigin, targetOrigin );
399 return; 415 return;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 } 588 }
573 } 589 }
574 throw "Incorrect number or type of arguments"; 590 throw "Incorrect number or type of arguments";
575 } 591 }
576 static void _webkitResolveLocalFileSystemURL(receiver, url) native; 592 static void _webkitResolveLocalFileSystemURL(receiver, url) native;
577 static void _webkitResolveLocalFileSystemURL_2(receiver, url, successCallback) native; 593 static void _webkitResolveLocalFileSystemURL_2(receiver, url, successCallback) native;
578 static void _webkitResolveLocalFileSystemURL_3(receiver, url, successCallback, errorCallback) native; 594 static void _webkitResolveLocalFileSystemURL_3(receiver, url, successCallback, errorCallback) native;
579 595
580 String get typeName() { return "DOMWindow"; } 596 String get typeName() { return "DOMWindow"; }
581 } 597 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698