| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index 672c57687034b6a7d5d53be3a0e9b402a9b3e6c1..e7011340eb8b4d4dcf347aaac14a7106f98c256c 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -6753,17 +6753,6 @@ class DataTransferItemList extends NativeFieldWrapperClass2 {
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -@DomName('DatabaseCallback')
|
| -// http://www.w3.org/TR/webdatabase/#databasecallback
|
| -@Experimental() // deprecated
|
| -typedef void DatabaseCallback(database);
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -
|
| @DocsEditable()
|
| @DomName('DedicatedWorkerGlobalScope')
|
| @Experimental() // untriaged
|
| @@ -17954,67 +17943,6 @@ typedef void MutationCallback(List<MutationRecord> mutations, MutationObserver o
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
|
|
| -@DomName('MutationEvent')
|
| -// http://www.w3.org/TR/DOM-Level-3-Events/#events-mutationevents
|
| -@deprecated
|
| -class MutationEvent extends Event {
|
| - factory MutationEvent(String type,
|
| - {bool canBubble: false, bool cancelable: false, Node relatedNode,
|
| - String prevValue, String newValue, String attrName, int attrChange: 0}) {
|
| -
|
| - var event = document._createEvent('MutationEvent');
|
| - event._initMutationEvent(type, canBubble, cancelable, relatedNode,
|
| - prevValue, newValue, attrName, attrChange);
|
| - return event;
|
| - }
|
| - // To suppress missing implicit constructor warnings.
|
| - factory MutationEvent._() { throw new UnsupportedError("Not supported"); }
|
| -
|
| - @DomName('MutationEvent.ADDITION')
|
| - @DocsEditable()
|
| - static const int ADDITION = 2;
|
| -
|
| - @DomName('MutationEvent.MODIFICATION')
|
| - @DocsEditable()
|
| - static const int MODIFICATION = 1;
|
| -
|
| - @DomName('MutationEvent.REMOVAL')
|
| - @DocsEditable()
|
| - static const int REMOVAL = 3;
|
| -
|
| - @DomName('MutationEvent.attrChange')
|
| - @DocsEditable()
|
| - int get attrChange native "MutationEvent_attrChange_Getter";
|
| -
|
| - @DomName('MutationEvent.attrName')
|
| - @DocsEditable()
|
| - String get attrName native "MutationEvent_attrName_Getter";
|
| -
|
| - @DomName('MutationEvent.newValue')
|
| - @DocsEditable()
|
| - String get newValue native "MutationEvent_newValue_Getter";
|
| -
|
| - @DomName('MutationEvent.prevValue')
|
| - @DocsEditable()
|
| - String get prevValue native "MutationEvent_prevValue_Getter";
|
| -
|
| - @DomName('MutationEvent.relatedNode')
|
| - @DocsEditable()
|
| - Node get relatedNode native "MutationEvent_relatedNode_Getter";
|
| -
|
| - @DomName('MutationEvent.initMutationEvent')
|
| - @DocsEditable()
|
| - void _initMutationEvent(String type, bool canBubble, bool cancelable, Node relatedNode, String prevValue, String newValue, String attrName, int attrChange) native "MutationEvent_initMutationEvent_Callback";
|
| -
|
| -}
|
| -
|
| -
|
| -
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -
|
| @DomName('MutationObserver')
|
| @SupportedBrowser(SupportedBrowser.CHROME)
|
| @SupportedBrowser(SupportedBrowser.FIREFOX)
|
| @@ -18788,13 +18716,6 @@ class Node extends EventTarget {
|
| * Print out a String representation of this Node.
|
| */
|
| String toString() => nodeValue == null ? super.toString() : nodeValue;
|
| -
|
| - /**
|
| - * Use ownerDocument instead.
|
| - */
|
| - @deprecated
|
| - Document get document => ownerDocument;
|
| -
|
| // To suppress missing implicit constructor warnings.
|
| factory Node._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -19284,47 +19205,6 @@ class Notification extends EventTarget {
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| -@DocsEditable()
|
| -@DomName('NotificationCenter')
|
| -@SupportedBrowser(SupportedBrowser.CHROME)
|
| -@SupportedBrowser(SupportedBrowser.SAFARI)
|
| -@Experimental()
|
| -// http://www.w3.org/TR/notifications/#showing-a-notification
|
| -@deprecated // deprecated
|
| -class NotificationCenter extends NativeFieldWrapperClass2 {
|
| - // To suppress missing implicit constructor warnings.
|
| - factory NotificationCenter._() { throw new UnsupportedError("Not supported"); }
|
| -
|
| - /// Checks if this type is supported on the current platform.
|
| - static bool get supported => true;
|
| -
|
| - @DomName('NotificationCenter.checkPermission')
|
| - @DocsEditable()
|
| - int checkPermission() native "NotificationCenter_checkPermission_Callback";
|
| -
|
| - @DomName('NotificationCenter.createNotification')
|
| - @DocsEditable()
|
| - Notification createNotification(String iconUrl, String title, String body) native "NotificationCenter_createNotification_Callback";
|
| -
|
| - @DomName('NotificationCenter.requestPermission')
|
| - @DocsEditable()
|
| - void _requestPermission([VoidCallback callback]) native "NotificationCenter_requestPermission_Callback";
|
| -
|
| - Future requestPermission() {
|
| - var completer = new Completer();
|
| - _requestPermission(
|
| - () { completer.complete(); });
|
| - return completer.future;
|
| - }
|
| -
|
| -}
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -// WARNING: Do not edit - generated code.
|
| -
|
| -
|
| @DomName('NotificationPermissionCallback')
|
| // http://www.w3.org/TR/notifications/#notificationpermissioncallback
|
| @Experimental()
|
| @@ -26612,7 +26492,14 @@ class Window extends EventTarget implements WindowBase, _WindowTimers, WindowBas
|
| @Experimental()
|
| // http://www.w3.org/TR/webdatabase/
|
| @Experimental() // deprecated
|
| - SqlDatabase openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native "Window_openDatabase_Callback";
|
| + SqlDatabase _openDatabase(String name, String version, String displayName, int estimatedSize, [_DatabaseCallback creationCallback]) native "Window_openDatabase_Callback";
|
| +
|
| + Future openDatabase(String name, String version, String displayName, int estimatedSize) {
|
| + var completer = new Completer();
|
| + _openDatabase(name, version, displayName, estimatedSize,
|
| + (value) { completer.complete(value); });
|
| + return completer.future;
|
| + }
|
|
|
| @DomName('Window.postMessage')
|
| @DocsEditable()
|
| @@ -27232,7 +27119,7 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
|
| @SupportedBrowser(SupportedBrowser.SAFARI)
|
| @Experimental()
|
| @Experimental() // untriaged
|
| - NotificationCenter get notifications native "WorkerGlobalScope_webkitNotifications_Getter";
|
| + _NotificationCenter get _webkitNotifications native "WorkerGlobalScope_webkitNotifications_Getter";
|
|
|
| @DomName('WorkerGlobalScope.close')
|
| @DocsEditable()
|
| @@ -27242,12 +27129,26 @@ class WorkerGlobalScope extends EventTarget implements _WindowTimers, WindowBase
|
| @DomName('WorkerGlobalScope.openDatabase')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - SqlDatabase openDatabase(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native "WorkerGlobalScope_openDatabase_Callback";
|
| + SqlDatabase _openDatabase(String name, String version, String displayName, int estimatedSize, [_DatabaseCallback creationCallback]) native "WorkerGlobalScope_openDatabase_Callback";
|
| +
|
| + Future openDatabase(String name, String version, String displayName, int estimatedSize) {
|
| + var completer = new Completer();
|
| + _openDatabase(name, version, displayName, estimatedSize,
|
| + (value) { completer.complete(value); });
|
| + return completer.future;
|
| + }
|
|
|
| @DomName('WorkerGlobalScope.openDatabaseSync')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - _DatabaseSync openDatabaseSync(String name, String version, String displayName, int estimatedSize, [DatabaseCallback creationCallback]) native "WorkerGlobalScope_openDatabaseSync_Callback";
|
| + _DatabaseSync _openDatabaseSync(String name, String version, String displayName, int estimatedSize, [_DatabaseCallback creationCallback]) native "WorkerGlobalScope_openDatabaseSync_Callback";
|
| +
|
| + Future openDatabaseSync(String name, String version, String displayName, int estimatedSize) {
|
| + var completer = new Completer();
|
| + _openDatabaseSync(name, version, displayName, estimatedSize,
|
| + (value) { completer.complete(value); });
|
| + return completer.future;
|
| + }
|
|
|
| @DomName('WorkerGlobalScope.webkitRequestFileSystem')
|
| @DocsEditable()
|
| @@ -28692,6 +28593,31 @@ abstract class _HTMLMarqueeElement extends HtmlElement {
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +
|
| +@DomName('MutationEvent')
|
| +// http://www.w3.org/TR/DOM-Level-3-Events/#events-mutationevents
|
| +@deprecated
|
| +abstract class _MutationEvent extends Event {
|
| + factory _MutationEvent(String type,
|
| + {bool canBubble: false, bool cancelable: false, Node relatedNode,
|
| + String prevValue, String newValue, String attrName, int attrChange: 0}) {
|
| +
|
| + var event = document._createEvent('MutationEvent');
|
| + event._initMutationEvent(type, canBubble, cancelable, relatedNode,
|
| + prevValue, newValue, attrName, attrChange);
|
| + return event;
|
| + }
|
| + // To suppress missing implicit constructor warnings.
|
| + factory _MutationEvent._() { throw new UnsupportedError("Not supported"); }
|
| +
|
| +}
|
| +
|
| +
|
| +
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| // WARNING: Do not edit - generated code.
|
|
|
|
|
| @@ -28809,6 +28735,28 @@ abstract class _Notation extends Node {
|
|
|
|
|
| @DocsEditable()
|
| +@DomName('NotificationCenter')
|
| +@SupportedBrowser(SupportedBrowser.CHROME)
|
| +@SupportedBrowser(SupportedBrowser.SAFARI)
|
| +@Experimental()
|
| +// http://www.w3.org/TR/notifications/#showing-a-notification
|
| +@deprecated // deprecated
|
| +abstract class _NotificationCenter extends NativeFieldWrapperClass2 {
|
| + // To suppress missing implicit constructor warnings.
|
| + factory _NotificationCenter._() { throw new UnsupportedError("Not supported"); }
|
| +
|
| + /// Checks if this type is supported on the current platform.
|
| + static bool get supported => true;
|
| +
|
| +}
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +// WARNING: Do not edit - generated code.
|
| +
|
| +
|
| +@DocsEditable()
|
| @DomName('PagePopupController')
|
| @deprecated // nonstandard
|
| abstract class _PagePopupController extends NativeFieldWrapperClass2 {
|
|
|