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

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

Issue 254463006: This CL contains all of the changes for splitting off all of the native (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 $!TOPLEVEL
8
7 $(ANNOTATIONS)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with 9 $(ANNOTATIONS)$(CLASS_MODIFIERS) class $CLASSNAME $EXTENDS with
8 $(CLASSNAME)Base $IMPLEMENTS$NATIVESPEC { 10 $(CLASSNAME)Base $IMPLEMENTS$NATIVESPEC {
9 factory $CLASSNAME() => new CssStyleDeclaration.css(''); 11 factory $CLASSNAME() => new CssStyleDeclaration.css('');
10 12
11 factory $CLASSNAME.css(String css) { 13 factory $CLASSNAME.css(String css) {
12 final style = new Element.tag('div').style; 14 final style = new Element.tag('div').style;
13 style.cssText = css; 15 style.cssText = css;
14 return style; 16 return style;
15 } 17 }
16 18
(...skipping 3230 matching lines...) Expand 10 before | Expand all | Expand 10 after
3247 3249
3248 /** Gets the value of "zoom" */ 3250 /** Gets the value of "zoom" */
3249 String get zoom => 3251 String get zoom =>
3250 getPropertyValue('zoom'); 3252 getPropertyValue('zoom');
3251 3253
3252 /** Sets the value of "zoom" */ 3254 /** Sets the value of "zoom" */
3253 void set zoom(String value) { 3255 void set zoom(String value) {
3254 setProperty('zoom', value, ''); 3256 setProperty('zoom', value, '');
3255 } 3257 }
3256 } 3258 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698