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 // 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 List<StyleSheet> get styleSheets => _styleSheets; | 98 List<StyleSheet> get styleSheets => _styleSheets; |
99 | 99 |
100 @DomName('Document.title') | 100 @DomName('Document.title') |
101 String get title => _title; | 101 String get title => _title; |
102 | 102 |
103 @DomName('Document.title') | 103 @DomName('Document.title') |
104 void set title(String value) { | 104 void set title(String value) { |
105 _title = value; | 105 _title = value; |
106 } | 106 } |
107 | 107 |
108 @DomName('Document.webkitCancelFullScreen') | |
109 @SupportedBrowser(SupportedBrowser.CHROME) | |
110 @SupportedBrowser(SupportedBrowser.SAFARI) | |
111 @Experimental() | |
112 void cancelFullScreen() { | |
113 _webkitCancelFullScreen(); | |
114 } | |
115 | |
116 @DomName('Document.webkitExitFullscreen') | 108 @DomName('Document.webkitExitFullscreen') |
117 @SupportedBrowser(SupportedBrowser.CHROME) | 109 @SupportedBrowser(SupportedBrowser.CHROME) |
118 @SupportedBrowser(SupportedBrowser.SAFARI) | 110 @SupportedBrowser(SupportedBrowser.SAFARI) |
119 @Experimental() | 111 @Experimental() |
120 void exitFullscreen() { | 112 void exitFullscreen() { |
121 _webkitExitFullscreen(); | 113 _webkitExitFullscreen(); |
122 } | 114 } |
123 | 115 |
124 @DomName('Document.webkitExitPointerLock') | 116 @DomName('Document.webkitExitPointerLock') |
125 @SupportedBrowser(SupportedBrowser.CHROME) | 117 @SupportedBrowser(SupportedBrowser.CHROME) |
(...skipping 14 matching lines...) Expand all Loading... |
140 @SupportedBrowser(SupportedBrowser.SAFARI) | 132 @SupportedBrowser(SupportedBrowser.SAFARI) |
141 @Experimental() | 133 @Experimental() |
142 bool get fullscreenEnabled => _webkitFullscreenEnabled; | 134 bool get fullscreenEnabled => _webkitFullscreenEnabled; |
143 | 135 |
144 @DomName('Document.webkitHidden') | 136 @DomName('Document.webkitHidden') |
145 @SupportedBrowser(SupportedBrowser.CHROME) | 137 @SupportedBrowser(SupportedBrowser.CHROME) |
146 @SupportedBrowser(SupportedBrowser.SAFARI) | 138 @SupportedBrowser(SupportedBrowser.SAFARI) |
147 @Experimental() | 139 @Experimental() |
148 bool get hidden => _webkitHidden; | 140 bool get hidden => _webkitHidden; |
149 | 141 |
150 @DomName('Document.webkitIsFullScreen') | |
151 @SupportedBrowser(SupportedBrowser.CHROME) | |
152 @SupportedBrowser(SupportedBrowser.SAFARI) | |
153 @Experimental() | |
154 bool get isFullScreen => _webkitIsFullScreen; | |
155 | |
156 @DomName('Document.webkitPointerLockElement') | 142 @DomName('Document.webkitPointerLockElement') |
157 @SupportedBrowser(SupportedBrowser.CHROME) | 143 @SupportedBrowser(SupportedBrowser.CHROME) |
158 @SupportedBrowser(SupportedBrowser.SAFARI) | 144 @SupportedBrowser(SupportedBrowser.SAFARI) |
159 @Experimental() | 145 @Experimental() |
160 Element get pointerLockElement => | 146 Element get pointerLockElement => |
161 _webkitPointerLockElement; | 147 _webkitPointerLockElement; |
162 | 148 |
163 @DomName('Document.visibilityState') | 149 @DomName('Document.visibilityState') |
164 @SupportedBrowser(SupportedBrowser.CHROME) | 150 @SupportedBrowser(SupportedBrowser.CHROME) |
165 @SupportedBrowser(SupportedBrowser.FIREFOX) | 151 @SupportedBrowser(SupportedBrowser.FIREFOX) |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 $endif | 271 $endif |
286 } | 272 } |
287 | 273 |
288 @SupportedBrowser(SupportedBrowser.CHROME) | 274 @SupportedBrowser(SupportedBrowser.CHROME) |
289 @SupportedBrowser(SupportedBrowser.FIREFOX) | 275 @SupportedBrowser(SupportedBrowser.FIREFOX) |
290 @SupportedBrowser(SupportedBrowser.IE, '10') | 276 @SupportedBrowser(SupportedBrowser.IE, '10') |
291 @Experimental() | 277 @Experimental() |
292 Stream<Event> get onVisibilityChange => | 278 Stream<Event> get onVisibilityChange => |
293 visibilityChangeEvent.forTarget(this); | 279 visibilityChangeEvent.forTarget(this); |
294 } | 280 } |
OLD | NEW |