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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-button-state-extracted.js

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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
OLDNEW
1 1
2 2
3 /** 3 /**
4 * @demo demo/index.html 4 * @demo demo/index.html
5 * @polymerBehavior 5 * @polymerBehavior Polymer.IronButtonState
6 */ 6 */
7 Polymer.IronButtonStateImpl = { 7 Polymer.IronButtonStateImpl = {
8 8
9 properties: { 9 properties: {
10 10
11 /** 11 /**
12 * If true, the user is currently holding down the button. 12 * If true, the user is currently holding down the button.
13 */ 13 */
14 pressed: { 14 pressed: {
15 type: Boolean, 15 type: Boolean,
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // provide hook for follow-on behaviors to react to button-state 156 // provide hook for follow-on behaviors to react to button-state
157 157
158 _changedButtonState: function() { 158 _changedButtonState: function() {
159 if (this._buttonStateChanged) { 159 if (this._buttonStateChanged) {
160 this._buttonStateChanged(); // abstract 160 this._buttonStateChanged(); // abstract
161 } 161 }
162 } 162 }
163 163
164 }; 164 };
165 165
166 /** @polymerBehavior Polymer.IronButtonState */ 166 /** @polymerBehavior */
167 Polymer.IronButtonState = [ 167 Polymer.IronButtonState = [
168 Polymer.IronA11yKeysBehavior, 168 Polymer.IronA11yKeysBehavior,
169 Polymer.IronButtonStateImpl 169 Polymer.IronButtonStateImpl
170 ]; 170 ];
171 171
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698