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

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

Issue 1879253004: Revert "Fix a few strong mode errors in dart:html" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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 // 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)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { 9 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
10 $!MEMBERS 10 $!MEMBERS
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 * API](http://docs.webplatform.org/wiki/tutorials/using_the_full-screen_api ) 145 * API](http://docs.webplatform.org/wiki/tutorials/using_the_full-screen_api )
146 * from WebPlatform.org. 146 * from WebPlatform.org.
147 * * [Fullscreen specification](http://www.w3.org/TR/fullscreen/) from W3C. 147 * * [Fullscreen specification](http://www.w3.org/TR/fullscreen/) from W3C.
148 */ 148 */
149 @DomName('Document.webkitFullscreenElement') 149 @DomName('Document.webkitFullscreenElement')
150 @SupportedBrowser(SupportedBrowser.CHROME) 150 @SupportedBrowser(SupportedBrowser.CHROME)
151 @SupportedBrowser(SupportedBrowser.SAFARI) 151 @SupportedBrowser(SupportedBrowser.SAFARI)
152 @Experimental() 152 @Experimental()
153 Element get fullscreenElement => _webkitFullscreenElement; 153 Element get fullscreenElement => _webkitFullscreenElement;
154 154
155 /**
156 * Returns true if this document can display elements in fullscreen mode.
157 *
158 * ## Other resources
159 *
160 * * [Using the fullscreen
161 * API](http://docs.webplatform.org/wiki/tutorials/using_the_full-screen_api )
162 * from WebPlatform.org.
163 * * [Fullscreen specification](http://www.w3.org/TR/fullscreen/) from W3C.
164 */
165 @DomName('Document.webkitFullscreenEnabled')
166 @SupportedBrowser(SupportedBrowser.CHROME)
167 @SupportedBrowser(SupportedBrowser.SAFARI)
168 @Experimental()
169 bool get fullscreenEnabled => _webkitFullscreenEnabled;
170
155 @DomName('Document.webkitHidden') 171 @DomName('Document.webkitHidden')
156 @SupportedBrowser(SupportedBrowser.CHROME) 172 @SupportedBrowser(SupportedBrowser.CHROME)
157 @SupportedBrowser(SupportedBrowser.SAFARI) 173 @SupportedBrowser(SupportedBrowser.SAFARI)
158 @Experimental() 174 @Experimental()
159 bool get hidden => _webkitHidden; 175 bool get hidden => _webkitHidden;
160 176
161 @DomName('Document.visibilityState') 177 @DomName('Document.visibilityState')
162 @SupportedBrowser(SupportedBrowser.CHROME) 178 @SupportedBrowser(SupportedBrowser.CHROME)
163 @SupportedBrowser(SupportedBrowser.FIREFOX) 179 @SupportedBrowser(SupportedBrowser.FIREFOX)
164 @SupportedBrowser(SupportedBrowser.IE, '10') 180 @SupportedBrowser(SupportedBrowser.IE, '10')
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 /// parameter must be provided. 525 /// parameter must be provided.
510 @Experimental() 526 @Experimental()
511 ElementUpgrader createElementUpgrader(Type type, {String extendsTag}) { 527 ElementUpgrader createElementUpgrader(Type type, {String extendsTag}) {
512 $if DART2JS 528 $if DART2JS
513 return new _JSElementUpgrader(this, type, extendsTag); 529 return new _JSElementUpgrader(this, type, extendsTag);
514 $else 530 $else
515 return new _VMElementUpgrader(this, type, extendsTag); 531 return new _VMElementUpgrader(this, type, extendsTag);
516 $endif 532 $endif
517 } 533 }
518 } 534 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698