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

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

Issue 2875773003: Roll 50: Updated for push to origin/master. (Closed)
Patch Set: Roll 50: Updated to latest Created 3 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
OLDNEW
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // to distinguish between property not being present in the browser and 60 // to distinguish between property not being present in the browser and
61 // not having a value at all. (Ultimately we'll want the native method to 61 // not having a value at all. (Ultimately we'll want the native method to
62 // return null if the property doesn't exist and empty string if it's 62 // return null if the property doesn't exist and empty string if it's
63 // defined but just doesn't have a value. 63 // defined but just doesn't have a value.
64 return _hasProperty(propertyName); 64 return _hasProperty(propertyName);
65 $endif 65 $endif
66 } 66 }
67 67
68 $if DARTIUM 68 $if DARTIUM
69 bool _hasProperty(String propertyName) => 69 bool _hasProperty(String propertyName) =>
70 $if JSINTEROP 70 _blink.BlinkCSSStyleDeclaration.instance.$__get___propertyIsEnumerable_Cal lback_1_(this, propertyName);
71 _blink.BlinkCSSStyleDeclaration.instance.$__propertyQuery___Callback_1_(th is, propertyName);
72 $else
73 _blink.BlinkCSSStyleDeclaration.$__propertyQuery___Callback_1(this, proper tyName);
74 $endif
75 $endif 71 $endif
76 72
77 @DomName('CSSStyleDeclaration.setProperty') 73 @DomName('CSSStyleDeclaration.setProperty')
78 void setProperty(String propertyName, String value, [String priority]) { 74 void setProperty(String propertyName, String value, [String priority]) {
79 return _setPropertyHelper(_browserPropertyName(propertyName), 75 return _setPropertyHelper(_browserPropertyName(propertyName),
80 value, priority); 76 value, priority);
81 } 77 }
82 78
83 String _browserPropertyName(String propertyName) { 79 String _browserPropertyName(String propertyName) {
84 String name = _readCache(propertyName); 80 String name = _readCache(propertyName);
(...skipping 4637 matching lines...) Expand 10 before | Expand all | Expand 10 after
4722 4718
4723 /** Gets the value of "zoom" */ 4719 /** Gets the value of "zoom" */
4724 String get zoom => 4720 String get zoom =>
4725 getPropertyValue('zoom'); 4721 getPropertyValue('zoom');
4726 4722
4727 /** Sets the value of "zoom" */ 4723 /** Sets the value of "zoom" */
4728 set zoom(String value) { 4724 set zoom(String value) {
4729 setProperty('zoom', value, ''); 4725 setProperty('zoom', value, '');
4730 } 4726 }
4731 } 4727 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698