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

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

Issue 19786005: Reapply Box Model convenience classes (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_MODIFIERS)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) {
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 String get boxShadow => 912 String get boxShadow =>
913 getPropertyValue('box-shadow'); 913 getPropertyValue('box-shadow');
914 914
915 /** Sets the value of "box-shadow" */ 915 /** Sets the value of "box-shadow" */
916 void set boxShadow(String value) { 916 void set boxShadow(String value) {
917 setProperty('box-shadow', value, ''); 917 setProperty('box-shadow', value, '');
918 } 918 }
919 919
920 /** Gets the value of "box-sizing" */ 920 /** Gets the value of "box-sizing" */
921 String get boxSizing => 921 String get boxSizing =>
922 getPropertyValue('box-sizing'); 922 getPropertyValue('${Device.cssPrefix}box-sizing');
923 923
924 /** Sets the value of "box-sizing" */ 924 /** Sets the value of "box-sizing" */
925 void set boxSizing(String value) { 925 void set boxSizing(String value) {
926 setProperty('box-sizing', value, ''); 926 setProperty('${Device.cssPrefix}box-sizing', value, '');
927 } 927 }
928 928
929 /** Gets the value of "caption-side" */ 929 /** Gets the value of "caption-side" */
930 String get captionSide => 930 String get captionSide =>
931 getPropertyValue('caption-side'); 931 getPropertyValue('caption-side');
932 932
933 /** Sets the value of "caption-side" */ 933 /** Sets the value of "caption-side" */
934 void set captionSide(String value) { 934 void set captionSide(String value) {
935 setProperty('caption-side', value, ''); 935 setProperty('caption-side', value, '');
936 } 936 }
(...skipping 2276 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
« no previous file with comments | « tools/dom/templates/html/dartium/html_dartium.darttemplate ('k') | tools/dom/templates/html/impl/impl_Element.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698