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

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

Issue 18054021: Fixing up DOM constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 7 $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
8 factory $CLASSNAME() => new CssStyleDeclaration.css(''); 8 factory $CLASSNAME() => new CssStyleDeclaration.css('');
9 9
10 factory $CLASSNAME.css(String css) { 10 factory $CLASSNAME.css(String css) {
11 final style = new Element.tag('div').style; 11 final style = new Element.tag('div').style;
12 style.cssText = css; 12 style.cssText = css;
13 return style; 13 return style;
14 } 14 }
15 15
16 $!MEMBERS 16 $!MEMBERS
17 17
(...skipping 3195 matching lines...) Expand 10 before | Expand all | Expand 10 after
3213 3213
3214 /** Gets the value of "zoom" */ 3214 /** Gets the value of "zoom" */
3215 String get zoom => 3215 String get zoom =>
3216 getPropertyValue('zoom'); 3216 getPropertyValue('zoom');
3217 3217
3218 /** Sets the value of "zoom" */ 3218 /** Sets the value of "zoom" */
3219 void set zoom(String value) { 3219 void set zoom(String value) {
3220 setProperty('zoom', value, ''); 3220 setProperty('zoom', value, '');
3221 } 3221 }
3222 } 3222 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698