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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 1759303003: Change scripts to avoid generating things that bloat the compiled code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/web_gl/dart2js/web_gl_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 10c20cf3cd70b7760fa3f782f1feae630122f553..a452271480c8587bb5c6fa0698d8dfa49283fa7d 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -6594,20 +6594,11 @@ class CssStyleDeclaration extends DartHtmlDomObject with
@DocsEditable()
CssRule get parentRule => wrap_jso(_blink.BlinkCSSStyleDeclaration.instance.parentRule_Getter_(unwrap_jso(this)));
- @DomName('CSSStyleDeclaration.__getter__')
- @DocsEditable()
- @Experimental() // untriaged
- Object __getter__(String name) => wrap_jso(_blink.BlinkCSSStyleDeclaration.instance.$__getter___Callback_1_(unwrap_jso(this), name));
-
@DomName('CSSStyleDeclaration.__propertyQuery__')
@DocsEditable()
@Experimental() // untriaged
bool __propertyQuery__(String name) => _blink.BlinkCSSStyleDeclaration.instance.$__propertyQuery___Callback_1_(unwrap_jso(this), name);
- @DomName('CSSStyleDeclaration.__setter__')
- @DocsEditable()
- void __setter__(String property, String propertyValue) => _blink.BlinkCSSStyleDeclaration.instance.$__setter___Callback_2_(unwrap_jso(this), property, propertyValue);
-
@DomName('CSSStyleDeclaration.getPropertyPriority')
@DocsEditable()
String getPropertyPriority(String property) => _blink.BlinkCSSStyleDeclaration.instance.getPropertyPriority_Callback_1_(unwrap_jso(this), property);
@@ -31354,24 +31345,6 @@ class Performance extends EventTarget {
@Experimental()
void clearMeasures(String measureName) => _blink.BlinkPerformance.instance.clearMeasures_Callback_1_(unwrap_jso(this), measureName);
- @DomName('Performance.getEntries')
- @DocsEditable()
- // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute
- @Experimental()
- List<PerformanceEntry> getEntries() => wrap_jso(_blink.BlinkPerformance.instance.getEntries_Callback_0_(unwrap_jso(this)));
-
- @DomName('Performance.getEntriesByName')
- @DocsEditable()
- // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute
- @Experimental()
- List<PerformanceEntry> getEntriesByName(String name, String entryType) => wrap_jso(_blink.BlinkPerformance.instance.getEntriesByName_Callback_2_(unwrap_jso(this), name, entryType));
-
- @DomName('Performance.getEntriesByType')
- @DocsEditable()
- // http://www.w3.org/TR/performance-timeline/#sec-window.performance-attribute
- @Experimental()
- List<PerformanceEntry> getEntriesByType(String entryType) => wrap_jso(_blink.BlinkPerformance.instance.getEntriesByType_Callback_1_(unwrap_jso(this), entryType));
-
@DomName('Performance.mark')
@DocsEditable()
// https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/UserTiming/Overview.html#extensions-performance-interface
@@ -33093,11 +33066,6 @@ class PushMessageData extends DartHtmlDomObject {
@Experimental() // untriaged
Blob blob() => wrap_jso(_blink.BlinkPushMessageData.instance.blob_Callback_0_(unwrap_jso(this)));
- @DomName('PushMessageData.json')
- @DocsEditable()
- @Experimental() // untriaged
- Object json() => wrap_jso(_blink.BlinkPushMessageData.instance.json_Callback_0_(unwrap_jso(this)));
-
@DomName('PushMessageData.text')
@DocsEditable()
@Experimental() // untriaged
@@ -35611,17 +35579,27 @@ class ServiceWorkerGlobalScope extends WorkerGlobalScope {
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
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(
+ _blink.BlinkMessageEvent.instance.data_Getter_(unwrap_jso(this)));
+
// To suppress missing implicit constructor warnings.
factory ServiceWorkerMessageEvent._() { throw new UnsupportedError("Not supported"); }
@@ -35647,11 +35625,6 @@ class ServiceWorkerMessageEvent extends Event {
ServiceWorkerMessageEvent.internal_() : super.internal_();
- @DomName('ServiceWorkerMessageEvent.data')
- @DocsEditable()
- @Experimental() // untriaged
- Object get data => wrap_jso(_blink.BlinkServiceWorkerMessageEvent.instance.data_Getter_(unwrap_jso(this)));
-
@DomName('ServiceWorkerMessageEvent.lastEventId')
@DocsEditable()
@Experimental() // untriaged
@@ -40357,10 +40330,10 @@ class Url extends DartHtmlDomObject implements UrlUtils {
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream));
}
- if ((blob_OR_source_OR_stream is MediaStream)) {
+ if ((blob_OR_source_OR_stream is MediaSource)) {
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream));
}
- if ((blob_OR_source_OR_stream is MediaSource)) {
+ if ((blob_OR_source_OR_stream is MediaStream)) {
return _blink.BlinkURL.instance.createObjectURL_Callback_1_(unwrap_jso(blob_OR_source_OR_stream));
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -44059,21 +44032,6 @@ class WorkerPerformance extends EventTarget {
@Experimental() // untriaged
void clearMeasures(String measureName) => _blink.BlinkWorkerPerformance.instance.clearMeasures_Callback_1_(unwrap_jso(this), measureName);
- @DomName('WorkerPerformance.getEntries')
- @DocsEditable()
- @Experimental() // untriaged
- List<PerformanceEntry> getEntries() => wrap_jso(_blink.BlinkWorkerPerformance.instance.getEntries_Callback_0_(unwrap_jso(this)));
-
- @DomName('WorkerPerformance.getEntriesByName')
- @DocsEditable()
- @Experimental() // untriaged
- List<PerformanceEntry> getEntriesByName(String name, String entryType) => wrap_jso(_blink.BlinkWorkerPerformance.instance.getEntriesByName_Callback_2_(unwrap_jso(this), name, entryType));
-
- @DomName('WorkerPerformance.getEntriesByType')
- @DocsEditable()
- @Experimental() // untriaged
- List<PerformanceEntry> getEntriesByType(String entryType) => wrap_jso(_blink.BlinkWorkerPerformance.instance.getEntriesByType_Callback_1_(unwrap_jso(this), entryType));
-
@DomName('WorkerPerformance.mark')
@DocsEditable()
@Experimental() // untriaged
@@ -44084,11 +44042,6 @@ class WorkerPerformance extends EventTarget {
@Experimental() // untriaged
void measure(String measureName, String startMark, String endMark) => _blink.BlinkWorkerPerformance.instance.measure_Callback_3_(unwrap_jso(this), measureName, startMark, endMark);
- @DomName('WorkerPerformance.now')
- @DocsEditable()
- @Experimental() // untriaged
- num now() => _blink.BlinkWorkerPerformance.instance.now_Callback_0_(unwrap_jso(this));
-
@DomName('WorkerPerformance.webkitClearResourceTimings')
@DocsEditable()
@SupportedBrowser(SupportedBrowser.CHROME)
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | sdk/lib/web_gl/dart2js/web_gl_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698