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

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

Issue 11887006: Changed @domName annotation in comment to full fledge @DomName annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes. 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 $ANNOTATIONS
9 /// @domName $DOMNAME
10 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 9 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
11 $!MEMBERS 10 $!MEMBERS
12 /** @domName Document.body */ 11 @DomName('Document.body')
13 BodyElement get body => document.$dom_body; 12 BodyElement get body => document.$dom_body;
14 13
15 /** @domName Document.body */ 14 @DomName('Document.body')
16 void set body(BodyElement value) { 15 void set body(BodyElement value) {
17 document.$dom_body = value; 16 document.$dom_body = value;
18 } 17 }
19 18
20 /** @domName Document.caretRangeFromPoint */ 19 @DomName('Document.caretRangeFromPoint')
21 Range caretRangeFromPoint(int x, int y) { 20 Range caretRangeFromPoint(int x, int y) {
22 return document.$dom_caretRangeFromPoint(x, y); 21 return document.$dom_caretRangeFromPoint(x, y);
23 } 22 }
24 23
25 /** @domName Document.elementFromPoint */ 24 @DomName('Document.elementFromPoint')
26 Element elementFromPoint(int x, int y) { 25 Element elementFromPoint(int x, int y) {
27 return document.$dom_elementFromPoint(x, y); 26 return document.$dom_elementFromPoint(x, y);
28 } 27 }
29 28
30 /** 29 /**
31 * Checks if the getCssCanvasContext API is supported on the current platform. 30 * Checks if the getCssCanvasContext API is supported on the current platform.
32 * 31 *
33 * See also: 32 * See also:
34 * 33 *
35 * * [getCssCanvasContext] 34 * * [getCssCanvasContext]
(...skipping 22 matching lines...) Expand all
58 * context.fillRect(0, 0, 100, 100); 57 * context.fillRect(0, 0, 100, 100);
59 * 58 *
60 * See also: 59 * See also:
61 * 60 *
62 * * [supportsCssCanvasContext] 61 * * [supportsCssCanvasContext]
63 * * [CanvasElement.getContext] 62 * * [CanvasElement.getContext]
64 */ 63 */
65 @SupportedBrowser(SupportedBrowser.CHROME) 64 @SupportedBrowser(SupportedBrowser.CHROME)
66 @SupportedBrowser(SupportedBrowser.SAFARI) 65 @SupportedBrowser(SupportedBrowser.SAFARI)
67 @Experimental() 66 @Experimental()
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')
77 String get lastModified => document.$dom_lastModified; 77 String get lastModified => document.$dom_lastModified;
78 78
79 /** @domName Document.preferredStylesheetSet */ 79 @DomName('Document.preferredStylesheetSet')
80 String get preferredStylesheetSet => document.$dom_preferredStylesheetSet; 80 String get preferredStylesheetSet => document.$dom_preferredStylesheetSet;
81 81
82 /** @domName Document.referrer */ 82 @DomName('Document.referrer')
83 String get referrer => document.$dom_referrer; 83 String get referrer => document.$dom_referrer;
84 84
85 /** @domName Document.selectedStylesheetSet */ 85 @DomName('Document.selectedStylesheetSet')
86 String get selectedStylesheetSet => document.$dom_selectedStylesheetSet; 86 String get selectedStylesheetSet => document.$dom_selectedStylesheetSet;
87 void set selectedStylesheetSet(String value) { 87 void set selectedStylesheetSet(String value) {
88 document.$dom_selectedStylesheetSet = value; 88 document.$dom_selectedStylesheetSet = value;
89 } 89 }
90 90
91 /** @domName Document.styleSheets */ 91 @DomName('Document.styleSheets')
92 List<StyleSheet> get styleSheets => document.$dom_styleSheets; 92 List<StyleSheet> get styleSheets => document.$dom_styleSheets;
93 93
94 /** @domName Document.title */ 94 @DomName('Document.title')
95 String get title => document.$dom_title; 95 String get title => document.$dom_title;
96 96
97 /** @domName Document.title */ 97 @DomName('Document.title')
98 void set title(String value) { 98 void set title(String value) {
99 document.$dom_title = value; 99 document.$dom_title = value;
100 } 100 }
101 101
102 /** @domName Document.webkitCancelFullScreen */ 102 @DomName('Document.webkitCancelFullScreen')
103 void webkitCancelFullScreen() { 103 void webkitCancelFullScreen() {
104 document.$dom_webkitCancelFullScreen(); 104 document.$dom_webkitCancelFullScreen();
105 } 105 }
106 106
107 /** @domName Document.webkitExitFullscreen */ 107 @DomName('Document.webkitExitFullscreen')
108 void webkitExitFullscreen() { 108 void webkitExitFullscreen() {
109 document.$dom_webkitExitFullscreen(); 109 document.$dom_webkitExitFullscreen();
110 } 110 }
111 111
112 /** @domName Document.webkitExitPointerLock */ 112 @DomName('Document.webkitExitPointerLock')
113 void webkitExitPointerLock() { 113 void webkitExitPointerLock() {
114 document.$dom_webkitExitPointerLock(); 114 document.$dom_webkitExitPointerLock();
115 } 115 }
116 116
117 /** @domName Document.webkitFullscreenElement */ 117 @DomName('Document.webkitFullscreenElement')
118 Element get webkitFullscreenElement => document.$dom_webkitFullscreenElement; 118 Element get webkitFullscreenElement => document.$dom_webkitFullscreenElement;
119 119
120 /** @domName Document.webkitFullscreenEnabled */ 120 @DomName('Document.webkitFullscreenEnabled')
121 bool get webkitFullscreenEnabled => document.$dom_webkitFullscreenEnabled; 121 bool get webkitFullscreenEnabled => document.$dom_webkitFullscreenEnabled;
122 122
123 /** @domName Document.webkitHidden */ 123 @DomName('Document.webkitHidden')
124 bool get webkitHidden => document.$dom_webkitHidden; 124 bool get webkitHidden => document.$dom_webkitHidden;
125 125
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