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

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

Issue 12041090: Changed how Experimental annotation works. No longer is a constructor. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
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 html; 7 part of html;
8 8
9 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 9 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
10 $!MEMBERS 10 $!MEMBERS
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 * context.fillStyle = 'red'; 56 * context.fillStyle = 'red';
57 * context.fillRect(0, 0, 100, 100); 57 * context.fillRect(0, 0, 100, 100);
58 * 58 *
59 * See also: 59 * See also:
60 * 60 *
61 * * [supportsCssCanvasContext] 61 * * [supportsCssCanvasContext]
62 * * [CanvasElement.getContext] 62 * * [CanvasElement.getContext]
63 */ 63 */
64 @SupportedBrowser(SupportedBrowser.CHROME) 64 @SupportedBrowser(SupportedBrowser.CHROME)
65 @SupportedBrowser(SupportedBrowser.SAFARI) 65 @SupportedBrowser(SupportedBrowser.SAFARI)
66 @Experimental() 66 @Experimental
67 @DomName('Document.getCSSCanvasContext') 67 @DomName('Document.getCSSCanvasContext')
68 CanvasRenderingContext getCssCanvasContext(String contextId, String name, 68 CanvasRenderingContext getCssCanvasContext(String contextId, String name,
69 int width, int height) { 69 int width, int height) {
70 return document.$dom_getCssCanvasContext(contextId, name, width, height); 70 return document.$dom_getCssCanvasContext(contextId, name, width, height);
71 } 71 }
72 72
73 @DomName('Document.head') 73 @DomName('Document.head')
74 HeadElement get head => document.$dom_head; 74 HeadElement get head => document.$dom_head;
75 75
76 @DomName('Document.lastModified') 76 @DomName('Document.lastModified')
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 @DomName('Document.webkitIsFullScreen') 126 @DomName('Document.webkitIsFullScreen')
127 bool get webkitIsFullScreen => document.$dom_webkitIsFullScreen; 127 bool get webkitIsFullScreen => document.$dom_webkitIsFullScreen;
128 128
129 @DomName('Document.webkitPointerLockElement') 129 @DomName('Document.webkitPointerLockElement')
130 Element get webkitPointerLockElement => 130 Element get webkitPointerLockElement =>
131 document.$dom_webkitPointerLockElement; 131 document.$dom_webkitPointerLockElement;
132 132
133 @DomName('Document.webkitVisibilityState') 133 @DomName('Document.webkitVisibilityState')
134 String get webkitVisibilityState => document.$dom_webkitVisibilityState; 134 String get webkitVisibilityState => document.$dom_webkitVisibilityState;
135 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698