| Index: sdk/lib/html/dart2js/html_dart2js.dart
|
| diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
|
| index bf81784570bce9cab23e8dea4c0483e7bf0fb0a5..f83ed5e0879de849c6df35d5ef3a341b5b2630da 100644
|
| --- a/sdk/lib/html/dart2js/html_dart2js.dart
|
| +++ b/sdk/lib/html/dart2js/html_dart2js.dart
|
| @@ -395,6 +395,7 @@ class AnimationEffectTiming extends Interceptor {
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| @Creates('Null')
|
| + @Returns('num|String')
|
| Object duration;
|
|
|
| @DomName('AnimationEffectTiming.easing')
|
| @@ -2838,71 +2839,6 @@ abstract class ChildNode extends Interceptor {
|
|
|
|
|
| @DocsEditable()
|
| -@DomName('CHROMIUMSubscribeUniform')
|
| -@Experimental() // untriaged
|
| -@Native("CHROMIUMSubscribeUniform")
|
| -class ChromiumSubscribeUniform extends Interceptor {
|
| - // To suppress missing implicit constructor warnings.
|
| - factory ChromiumSubscribeUniform._() { throw new UnsupportedError("Not supported"); }
|
| -
|
| - @DomName('CHROMIUMSubscribeUniform.MOUSE_POSITION_CHROMIUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int MOUSE_POSITION_CHROMIUM = 0x924C;
|
| -
|
| - @DomName('CHROMIUMSubscribeUniform.SUBSCRIBED_VALUES_BUFFER_CHROMIUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - static const int SUBSCRIBED_VALUES_BUFFER_CHROMIUM = 0x924B;
|
| -
|
| - @JSName('bindValuebufferCHROMIUM')
|
| - @DomName('CHROMIUMSubscribeUniform.bindValuebufferCHROMIUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void bindValuebufferChromium(int target, ChromiumValuebuffer buffer) native;
|
| -
|
| - @JSName('createValuebufferCHROMIUM')
|
| - @DomName('CHROMIUMSubscribeUniform.createValuebufferCHROMIUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - ChromiumValuebuffer createValuebufferChromium() native;
|
| -
|
| - @JSName('deleteValuebufferCHROMIUM')
|
| - @DomName('CHROMIUMSubscribeUniform.deleteValuebufferCHROMIUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void deleteValuebufferChromium(ChromiumValuebuffer buffer) native;
|
| -
|
| - @JSName('isValuebufferCHROMIUM')
|
| - @DomName('CHROMIUMSubscribeUniform.isValuebufferCHROMIUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - bool isValuebufferChromium(ChromiumValuebuffer buffer) native;
|
| -
|
| - @JSName('populateSubscribedValuesCHROMIUM')
|
| - @DomName('CHROMIUMSubscribeUniform.populateSubscribedValuesCHROMIUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void populateSubscribedValuesChromium(int target) native;
|
| -
|
| - @JSName('subscribeValueCHROMIUM')
|
| - @DomName('CHROMIUMSubscribeUniform.subscribeValueCHROMIUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void subscribeValueChromium(int target, int subscriptions) native;
|
| -
|
| - @JSName('uniformValuebufferCHROMIUM')
|
| - @DomName('CHROMIUMSubscribeUniform.uniformValuebufferCHROMIUM')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - void uniformValuebufferChromium(UniformLocation location, int target, int subscription) native;
|
| -}
|
| -// 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.
|
| -
|
| -
|
| -@DocsEditable()
|
| @DomName('CHROMIUMValuebuffer')
|
| @Experimental() // untriaged
|
| @Native("CHROMIUMValuebuffer")
|
| @@ -4177,16 +4113,6 @@ class CssStyleDeclaration extends Interceptor with
|
| @DocsEditable()
|
| final CssRule parentRule;
|
|
|
| - @DomName('CSSStyleDeclaration.__getter__')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - @Creates('Null')
|
| - Object __getter__(String name) native;
|
| -
|
| - @DomName('CSSStyleDeclaration.__setter__')
|
| - @DocsEditable()
|
| - void __setter__(String property, String propertyValue) native;
|
| -
|
| @DomName('CSSStyleDeclaration.getPropertyPriority')
|
| @DocsEditable()
|
| String getPropertyPriority(String property) native;
|
| @@ -28228,6 +28154,15 @@ class RelatedEvent extends Event {
|
| // 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('RequestAnimationFrameCallback')
|
| +typedef void RequestAnimationFrameCallback(num highResTime);
|
| +// 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.
|
| +
|
|
|
| @DocsEditable()
|
| @DomName('ResourceProgressEvent')
|
| @@ -29887,16 +29822,34 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope {
|
| @Experimental() // untriaged
|
| Stream<MessageEvent> get onMessage => messageEvent.forTarget(this);
|
| }
|
| -// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// Copyright (c) 2016, 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()
|
| +
|
| +// TODO(alanknight): Provide a nicer constructor that uses named parameters
|
| +// rather than an initialization map.
|
| @DomName('ServiceWorkerMessageEvent')
|
| @Experimental() // untriaged
|
| @Native("ServiceWorkerMessageEvent")
|
| class ServiceWorkerMessageEvent extends Event {
|
| +
|
| + // TODO(alanknight): This really should be generated by the
|
| + // _OutputConversion in the systemnative.py script, but that doesn't
|
| + // use those conversions right now, so do this as a one-off.
|
| + @DomName('ServiceWorkerMessageEvent.data')
|
| + @DocsEditable()
|
| + dynamic get data => convertNativeToDart_SerializedScriptValue(this._get_data);
|
| +
|
| + @JSName('data')
|
| + @DomName('ServiceWorkerMessageEvent.data')
|
| + @DocsEditable()
|
| + @annotation_Creates_SerializedScriptValue
|
| + @annotation_Returns_SerializedScriptValue
|
| + final dynamic _get_data;
|
| +
|
| // To suppress missing implicit constructor warnings.
|
| factory ServiceWorkerMessageEvent._() { throw new UnsupportedError("Not supported"); }
|
|
|
| @@ -29912,13 +29865,6 @@ class ServiceWorkerMessageEvent extends Event {
|
| static ServiceWorkerMessageEvent _create_1(type, eventInitDict) => JS('ServiceWorkerMessageEvent', 'new ServiceWorkerMessageEvent(#,#)', type, eventInitDict);
|
| static ServiceWorkerMessageEvent _create_2(type) => JS('ServiceWorkerMessageEvent', 'new ServiceWorkerMessageEvent(#)', type);
|
|
|
| - @DomName('ServiceWorkerMessageEvent.data')
|
| - @DocsEditable()
|
| - @Experimental() // untriaged
|
| - // TODO(jacobr): we need to actually convert to a SerializedScriptValue
|
| - @Creates('=Object')
|
| - final Object data;
|
| -
|
| @DomName('ServiceWorkerMessageEvent.lastEventId')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| @@ -29937,10 +29883,10 @@ class ServiceWorkerMessageEvent extends Event {
|
| @DomName('ServiceWorkerMessageEvent.source')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - // TODO(jacobr): this isn't quite right.
|
| @Creates('Null')
|
| - @Returns('EventTarget|=Object')
|
| + @Returns('_ServiceWorker|MessagePort')
|
| final Object source;
|
| +
|
| }
|
| // 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
|
| @@ -34147,12 +34093,14 @@ class VttCue extends TextTrackCue {
|
| @DomName('VTTCue.line')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - num line;
|
| + @Returns('num|String')
|
| + Object line;
|
|
|
| @DomName('VTTCue.position')
|
| @DocsEditable()
|
| @Experimental() // untriaged
|
| - num position;
|
| + @Returns('num|String')
|
| + Object position;
|
|
|
| @DomName('VTTCue.regionId')
|
| @DocsEditable()
|
|
|