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

Side by Side Diff: tools/dom/templates/html/dart2js/html_dart2js.darttemplate

Issue 1987073002: Strip unused functionality from dart:html and fix strong mode errors. Switch from blacklisting pure… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // DO NOT EDIT - unless you are editing documentation as per: 5 // DO NOT EDIT - unless you are editing documentation as per:
6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
7 // Auto-generated dart:html library. 7 // Auto-generated dart:html library.
8 8
9 /** 9 /**
10 * HTML elements and other resources for web-based applications that need to 10 * HTML elements and other resources for web-based applications that need to
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 factory HtmlElement() { throw new UnsupportedError("Not supported"); } 125 factory HtmlElement() { throw new UnsupportedError("Not supported"); }
126 126
127 /** 127 /**
128 * Constructor instantiated by the DOM when a custom element has been created. 128 * Constructor instantiated by the DOM when a custom element has been created.
129 * 129 *
130 * This can only be called by subclasses from their created constructor. 130 * This can only be called by subclasses from their created constructor.
131 */ 131 */
132 HtmlElement.created() : super.created(); 132 HtmlElement.created() : super.created();
133 } 133 }
134 134
135 // EntryArray type was removed, so explicitly adding it to allow support for
136 // older Chrome versions.
137 // Issue #12573.
138 @Native("EntryArray")
139 abstract class _EntryArray implements List<Entry> {}
140
141 /** 135 /**
142 * Spawn a DOM isolate using the given URI in the same window. 136 * Spawn a DOM isolate using the given URI in the same window.
143 * This isolate is not concurrent. It runs on the browser thread 137 * This isolate is not concurrent. It runs on the browser thread
144 * with full access to the DOM. 138 * with full access to the DOM.
145 * Note: this API is still evolving and may move to dart:isolate. 139 * Note: this API is still evolving and may move to dart:isolate.
146 */ 140 */
147 @Experimental() 141 @Experimental()
148 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) { 142 Future<Isolate> spawnDomUri(Uri uri, List<String> args, message) {
149 // TODO(17738): Implement this. 143 // TODO(17738): Implement this.
150 throw new UnimplementedError(); 144 throw new UnimplementedError();
151 } 145 }
152 146
153 createCustomUpgrader(Type customElementClass, $this) => $this; 147 createCustomUpgrader(Type customElementClass, $this) => $this;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698