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

Side by Side Diff: client/html/src/CSSStyleDeclarationWrappingImplementation.dart

Issue 8416010: Further code review changes for issue 8341027. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add DOMWrapperBase._empty. Created 9 years, 1 month 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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. 5 // WARNING: Do not edit.
6 // This file was generated by html/scripts/css_code_generator.py 6 // This file was generated by html/scripts/css_code_generator.py
7 7
8 // Source of CSS properties: 8 // Source of CSS properties:
9 // Source/WebCore/css/CSSPropertyNames.in 9 // Source/WebCore/css/CSSPropertyNames.in
10 10
11 // TODO(jacobr): add versions that take numeric values in px, miliseconds, etc. 11 // TODO(jacobr): add versions that take numeric values in px, miliseconds, etc.
12 12
13 class CSSStyleDeclarationWrappingImplementation extends DOMWrapperBase implement s CSSStyleDeclaration { 13 class CSSStyleDeclarationWrappingImplementation extends DOMWrapperBase implement s CSSStyleDeclaration {
14 static String _cachedBrowserPrefix; 14 static String _cachedBrowserPrefix;
15 15
16 const CSSStyleDeclarationWrappingImplementation._empty() : super._empty();
17
16 CSSStyleDeclarationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} 18 CSSStyleDeclarationWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
17 19
18 factory CSSStyleDeclarationWrappingImplementation.css(String css) { 20 factory CSSStyleDeclarationWrappingImplementation.css(String css) {
19 var style = new Element.tag('div').style; 21 var style = new Element.tag('div').style;
20 style.cssText = css; 22 style.cssText = css;
21 return style; 23 return style;
22 } 24 }
23 25
24 factory CSSStyleDeclarationWrappingImplementation() { 26 factory CSSStyleDeclarationWrappingImplementation() {
25 return new CSSStyleDeclarationWrappingImplementation.css(''); 27 return new CSSStyleDeclarationWrappingImplementation.css('');
(...skipping 2810 matching lines...) Expand 10 before | Expand all | Expand 10 after
2836 2838
2837 /** Gets the value of "zoom" */ 2839 /** Gets the value of "zoom" */
2838 String get zoom() => 2840 String get zoom() =>
2839 getPropertyValue('zoom'); 2841 getPropertyValue('zoom');
2840 2842
2841 /** Sets the value of "zoom" */ 2843 /** Sets the value of "zoom" */
2842 void set zoom(String value) { 2844 void set zoom(String value) {
2843 setProperty('zoom', value, ''); 2845 setProperty('zoom', value, '');
2844 } 2846 }
2845 } 2847 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698