| OLD | NEW |
| 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 part of $LIBRARYNAME; | 5 part of $LIBRARYNAME; |
| 6 | 6 |
| 7 @DocsEditable() | 7 @DocsEditable() |
| 8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME extends Node | 8 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME extends Node |
| 9 { | 9 { |
| 10 | 10 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 NodeIterator _createNodeIterator(Node root, | 107 NodeIterator _createNodeIterator(Node root, |
| 108 [int whatToShow, NodeFilter filter]) | 108 [int whatToShow, NodeFilter filter]) |
| 109 => JS('NodeIterator', '#.createNodeIterator(#, #, #, false)', | 109 => JS('NodeIterator', '#.createNodeIterator(#, #, #, false)', |
| 110 this, root, whatToShow, filter); | 110 this, root, whatToShow, filter); |
| 111 | 111 |
| 112 @DomName('Document.createTreeWalker') | 112 @DomName('Document.createTreeWalker') |
| 113 TreeWalker _createTreeWalker(Node root, | 113 TreeWalker _createTreeWalker(Node root, |
| 114 [int whatToShow, NodeFilter filter]) | 114 [int whatToShow, NodeFilter filter]) |
| 115 => JS('TreeWalker', '#.createTreeWalker(#, #, #, false)', | 115 => JS('TreeWalker', '#.createTreeWalker(#, #, #, false)', |
| 116 this, root, whatToShow, filter); | 116 this, root, whatToShow, filter); |
| 117 | |
| 118 /** | |
| 119 * Returns true if this document can display elements in fullscreen mode. | |
| 120 * | |
| 121 * ## Other resources | |
| 122 * | |
| 123 * * [Using the fullscreen | |
| 124 * API](http://docs.webplatform.org/wiki/tutorials/using_the_full-screen_api
) | |
| 125 * from WebPlatform.org. | |
| 126 * * [Fullscreen specification](http://www.w3.org/TR/fullscreen/) from W3C. | |
| 127 */ | |
| 128 @DomName('Document.webkitFullscreenEnabled') | |
| 129 @SupportedBrowser(SupportedBrowser.CHROME) | |
| 130 @SupportedBrowser(SupportedBrowser.SAFARI) | |
| 131 @Experimental() | |
| 132 bool get fullscreenEnabled => _webkitFullscreenEnabled; | |
| 133 | |
| 134 $endif | 117 $endif |
| 135 } | 118 } |
| OLD | NEW |