Index: tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
index a52e369a14c8682d4c39a5de0842d88ba9ee5a9b..7c14df1f18800ee2754966106829e019f66331d0 100644 |
--- a/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_HTMLDocument.darttemplate |
@@ -127,65 +127,6 @@ $endif |
_webkitExitFullscreen(); |
} |
- /** |
- * Returns the element, if any, that is currently displayed in fullscreen. |
- * |
- * Returns null if there is currently no fullscreen element. You can use |
- * this to determine if the page is in fullscreen mode. |
- * |
- * myVideo = new VideoElement(); |
- * if (document.fullscreenElement == null) { |
- * myVideo.requestFullscreen(); |
- * print(document.fullscreenElement == myVideo); // true |
- * } |
- * |
- * ## Other resources |
- * |
- * * [Using the fullscreen |
- * API](http://docs.webplatform.org/wiki/tutorials/using_the_full-screen_api) |
- * from WebPlatform.org. |
- * * [Fullscreen specification](http://www.w3.org/TR/fullscreen/) from W3C. |
- */ |
- @DomName('Document.webkitFullscreenElement') |
- @SupportedBrowser(SupportedBrowser.CHROME) |
- @SupportedBrowser(SupportedBrowser.SAFARI) |
- @Experimental() |
- Element get fullscreenElement => _webkitFullscreenElement; |
- |
- /** |
- * Returns true if this document can display elements in fullscreen mode. |
- * |
- * ## Other resources |
- * |
- * * [Using the fullscreen |
- * API](http://docs.webplatform.org/wiki/tutorials/using_the_full-screen_api) |
- * from WebPlatform.org. |
- * * [Fullscreen specification](http://www.w3.org/TR/fullscreen/) from W3C. |
- */ |
- @DomName('Document.webkitFullscreenEnabled') |
- @SupportedBrowser(SupportedBrowser.CHROME) |
- @SupportedBrowser(SupportedBrowser.SAFARI) |
- @Experimental() |
- bool get fullscreenEnabled => _webkitFullscreenEnabled; |
- |
- @DomName('Document.webkitHidden') |
- @SupportedBrowser(SupportedBrowser.CHROME) |
- @SupportedBrowser(SupportedBrowser.SAFARI) |
- @Experimental() |
- bool get hidden => _webkitHidden; |
- |
- @DomName('Document.visibilityState') |
- @SupportedBrowser(SupportedBrowser.CHROME) |
- @SupportedBrowser(SupportedBrowser.FIREFOX) |
- @SupportedBrowser(SupportedBrowser.IE, '10') |
- @Experimental() |
-$if DART2JS |
- String get visibilityState => JS('String', |
- '(#.visibilityState || #.mozVisibilityState || #.msVisibilityState ||' |
- '#.webkitVisibilityState)', this, this, this, this); |
-$else |
- String get visibilityState => _webkitVisibilityState; |
-$endif |
$if DARTIUM |
/** |