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

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

Issue 22642002: 'extends Element' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « tools/dom/templates/html/dart2js/html_dart2js.darttemplate ('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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 $dom_webkitPointerLockElement; 161 $dom_webkitPointerLockElement;
162 162
163 @DomName('Document.webkitVisibilityState') 163 @DomName('Document.webkitVisibilityState')
164 @SupportedBrowser(SupportedBrowser.CHROME) 164 @SupportedBrowser(SupportedBrowser.CHROME)
165 @SupportedBrowser(SupportedBrowser.SAFARI) 165 @SupportedBrowser(SupportedBrowser.SAFARI)
166 @Experimental() 166 @Experimental()
167 String get visibilityState => $dom_webkitVisibilityState; 167 String get visibilityState => $dom_webkitVisibilityState;
168 168
169 @Experimental 169 @Experimental
170 $if DART2JS 170 $if DART2JS
171 void register(String tag, Type custom) { 171 void register(String tag, Type customElementClass) {
172 throw new UnsupportedError("Custom DOM types not supported"); 172 _registerCustomElement(JS('', 'window'), this, tag, customElementClass);
173 } 173 }
174 $else 174 $else
175 void register(String tag, Type custom) { 175 void register(String tag, Type custom) {
176 _Utils.register(tag, custom); 176 _Utils.register(tag, custom);
177 } 177 }
178 $endif 178 $endif
179 179
180 $if DART2JS 180 $if DART2JS
181 @Creates('Null') // Set from Dart code; does not instantiate a native type. 181 @Creates('Null') // Set from Dart code; does not instantiate a native type.
182 $endif 182 $endif
183 // Note: used to polyfill <template> 183 // Note: used to polyfill <template>
184 Document _templateContentsOwner; 184 Document _templateContentsOwner;
185 } 185 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/dart2js/html_dart2js.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698