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

Side by Side Diff: tools/dom/templates/html/impl/impl_CSSStyleDeclaration.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 part of html; 5 part of html;
6 6
7 String _cachedBrowserPrefix; 7 String _cachedBrowserPrefix;
8 8
9 String get _browserPrefix { 9 String get _browserPrefix {
10 if (_cachedBrowserPrefix == null) { 10 if (_cachedBrowserPrefix == null) {
11 if (_Device.isFirefox) { 11 if (_Device.isFirefox) {
12 _cachedBrowserPrefix = '-moz-'; 12 _cachedBrowserPrefix = '-moz-';
13 } else if (_Device.isIE) { 13 } else if (_Device.isIE) {
14 _cachedBrowserPrefix = '-ms-'; 14 _cachedBrowserPrefix = '-ms-';
15 } else if (_Device.isOpera) { 15 } else if (_Device.isOpera) {
16 _cachedBrowserPrefix = '-o-'; 16 _cachedBrowserPrefix = '-o-';
17 } else { 17 } else {
18 _cachedBrowserPrefix = '-webkit-'; 18 _cachedBrowserPrefix = '-webkit-';
19 } 19 }
20 } 20 }
21 return _cachedBrowserPrefix; 21 return _cachedBrowserPrefix;
22 } 22 }
23 23 $ANNOTATIONS
24 /// @domName $DOMNAME
25 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 24 class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
26 factory $CLASSNAME() => _$(CLASSNAME)FactoryProvider.create$CLASSNAME(); 25 factory $CLASSNAME() => _$(CLASSNAME)FactoryProvider.create$CLASSNAME();
27 factory $CLASSNAME.css(String css) => 26 factory $CLASSNAME.css(String css) =>
28 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_css(css); 27 _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_css(css);
29 28
30 $!MEMBERS 29 $!MEMBERS
31 30
32 String getPropertyValue(String propertyName) { 31 String getPropertyValue(String propertyName) {
33 var propValue = _getPropertyValue(propertyName); 32 var propValue = _getPropertyValue(propertyName);
34 return propValue != null ? propValue : ''; 33 return propValue != null ? propValue : '';
(...skipping 3153 matching lines...) Expand 10 before | Expand all | Expand 10 after
3188 3187
3189 /** Gets the value of "zoom" */ 3188 /** Gets the value of "zoom" */
3190 String get zoom => 3189 String get zoom =>
3191 getPropertyValue('zoom'); 3190 getPropertyValue('zoom');
3192 3191
3193 /** Sets the value of "zoom" */ 3192 /** Sets the value of "zoom" */
3194 void set zoom(String value) { 3193 void set zoom(String value) {
3195 setProperty('zoom', value, ''); 3194 setProperty('zoom', value, '');
3196 } 3195 }
3197 } 3196 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698