| OLD | NEW |
| 1 | 1 |
| 2 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 2 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 3 // for details. All rights reserved. Use of this source code is governed by a | 3 // for details. All rights reserved. Use of this source code is governed by a |
| 4 // BSD-style license that can be found in the LICENSE file. | 4 // BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 // WARNING: DO NOT EDIT THIS TEMPLATE FILE. | 6 // WARNING: DO NOT EDIT THIS TEMPLATE FILE. |
| 7 // The template file was generated by scripts/css_code_generator.py | 7 // The template file was generated by scripts/css_code_generator.py |
| 8 | 8 |
| 9 // Source of CSS properties: | 9 // Source of CSS properties: |
| 10 // CSSPropertyNames.in | 10 // CSSPropertyNames.in |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // not having a value at all. (Ultimately we'll want the native method to | 56 // not having a value at all. (Ultimately we'll want the native method to |
| 57 // return null if the property doesn't exist and empty string if it's | 57 // return null if the property doesn't exist and empty string if it's |
| 58 // defined but just doesn't have a value. | 58 // defined but just doesn't have a value. |
| 59 return _hasProperty(propertyName); | 59 return _hasProperty(propertyName); |
| 60 $endif | 60 $endif |
| 61 } | 61 } |
| 62 | 62 |
| 63 $if DARTIUM | 63 $if DARTIUM |
| 64 bool _hasProperty(String propertyName) => | 64 bool _hasProperty(String propertyName) => |
| 65 $if JSINTEROP | 65 $if JSINTEROP |
| 66 _blink.BlinkCSSStyleDeclaration.instance.$__propertyQuery___Callback_1_(un
wrap_jso(this), propertyName) != null; | 66 _blink.BlinkCSSStyleDeclaration.instance.$__propertyQuery___Callback_1_(th
is, propertyName); |
| 67 $else | 67 $else |
| 68 _blink.BlinkCSSStyleDeclaration.$__propertyQuery___Callback_1(this, proper
tyName); | 68 _blink.BlinkCSSStyleDeclaration.$__propertyQuery___Callback_1(this, proper
tyName); |
| 69 $endif | 69 $endif |
| 70 $endif | 70 $endif |
| 71 | 71 |
| 72 @DomName('CSSStyleDeclaration.setProperty') | 72 @DomName('CSSStyleDeclaration.setProperty') |
| 73 void setProperty(String propertyName, String value, [String priority]) { | 73 void setProperty(String propertyName, String value, [String priority]) { |
| 74 return _setPropertyHelper(_browserPropertyName(propertyName), | 74 return _setPropertyHelper(_browserPropertyName(propertyName), |
| 75 value, priority); | 75 value, priority); |
| 76 } | 76 } |
| (...skipping 4640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4717 | 4717 |
| 4718 /** Gets the value of "zoom" */ | 4718 /** Gets the value of "zoom" */ |
| 4719 String get zoom => | 4719 String get zoom => |
| 4720 getPropertyValue('zoom'); | 4720 getPropertyValue('zoom'); |
| 4721 | 4721 |
| 4722 /** Sets the value of "zoom" */ | 4722 /** Sets the value of "zoom" */ |
| 4723 set zoom(String value) { | 4723 set zoom(String value) { |
| 4724 setProperty('zoom', value, ''); | 4724 setProperty('zoom', value, ''); |
| 4725 } | 4725 } |
| 4726 } | 4726 } |
| OLD | NEW |