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

Side by Side Diff: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate

Issue 35543004: Fixing experimental annotation on HtmlDocument.register (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 part of $LIBRARYNAME; 7 part of $LIBRARYNAME;
8 8
9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 9 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
10 $!MEMBERS 10 $!MEMBERS
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 @SupportedBrowser(SupportedBrowser.IE, '10') 152 @SupportedBrowser(SupportedBrowser.IE, '10')
153 @Experimental() 153 @Experimental()
154 $if DART2JS 154 $if DART2JS
155 String get visibilityState => JS('String', 155 String get visibilityState => JS('String',
156 '(#.visibilityState || #.mozVisibilityState || #.msVisibilityState ||' 156 '(#.visibilityState || #.mozVisibilityState || #.msVisibilityState ||'
157 '#.webkitVisibilityState)', this, this, this, this); 157 '#.webkitVisibilityState)', this, this, this, this);
158 $else 158 $else
159 String get visibilityState => _webkitVisibilityState; 159 String get visibilityState => _webkitVisibilityState;
160 $endif 160 $endif
161 161
162 @Experimental 162 @Experimental()
163 /** 163 /**
164 * Register a custom subclass of Element to be instantiatable by the DOM. 164 * Register a custom subclass of Element to be instantiatable by the DOM.
165 * 165 *
166 * This is necessary to allow the construction of any custom elements. 166 * This is necessary to allow the construction of any custom elements.
167 * 167 *
168 * The class being registered must either subclass HtmlElement or SvgElement. 168 * The class being registered must either subclass HtmlElement or SvgElement.
169 * If they subclass these directly then they can be used as: 169 * If they subclass these directly then they can be used as:
170 * 170 *
171 * class FooElement extends HtmlElement{ 171 * class FooElement extends HtmlElement{
172 * void created() { 172 * void created() {
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 $endif 271 $endif
272 } 272 }
273 273
274 @SupportedBrowser(SupportedBrowser.CHROME) 274 @SupportedBrowser(SupportedBrowser.CHROME)
275 @SupportedBrowser(SupportedBrowser.FIREFOX) 275 @SupportedBrowser(SupportedBrowser.FIREFOX)
276 @SupportedBrowser(SupportedBrowser.IE, '10') 276 @SupportedBrowser(SupportedBrowser.IE, '10')
277 @Experimental() 277 @Experimental()
278 Stream<Event> get onVisibilityChange => 278 Stream<Event> get onVisibilityChange =>
279 visibilityChangeEvent.forTarget(this); 279 visibilityChangeEvent.forTarget(this);
280 } 280 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698