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

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

Issue 1162563004: Upgrade to 1.0 and switch clients to dom-repeat where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a layout import and remove the gzipped webanimation in reproduce.sh Created 5 years, 6 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 /** @polymerBehavior */
4
3 Polymer.IronControlState = { 5 Polymer.IronControlState = {
4 6
5 properties: { 7 properties: {
6 8
7 /** 9 /**
8 * If true, the element currently has focus. 10 * If true, the element currently has focus.
9 * 11 *
10 * @attribute focused 12 * @attribute focused
11 * @type boolean 13 * @type boolean
12 * @default false 14 * @default false
(...skipping 15 matching lines...) Expand all
28 */ 30 */
29 disabled: { 31 disabled: {
30 type: Boolean, 32 type: Boolean,
31 value: false, 33 value: false,
32 notify: true, 34 notify: true,
33 observer: '_disabledChanged', 35 observer: '_disabledChanged',
34 reflectToAttribute: true 36 reflectToAttribute: true
35 }, 37 },
36 38
37 _oldTabIndex: { 39 _oldTabIndex: {
38 type: String 40 type: Number
39 } 41 }
40 }, 42 },
41 43
42 observers: [ 44 observers: [
43 '_changedControlState(focused, disabled)' 45 '_changedControlState(focused, disabled)'
44 ], 46 ],
45 47
46 listeners: { 48 listeners: {
47 focus: '_focusHandler', 49 focus: '_focusHandler',
48 blur: '_blurHandler' 50 blur: '_blurHandler'
(...skipping 29 matching lines...) Expand all
78 80
79 _changedControlState: function() { 81 _changedControlState: function() {
80 // _controlStateChanged is abstract, follow-on behaviors may implement it 82 // _controlStateChanged is abstract, follow-on behaviors may implement it
81 if (this._controlStateChanged) { 83 if (this._controlStateChanged) {
82 this._controlStateChanged(); 84 this._controlStateChanged();
83 } 85 }
84 } 86 }
85 87
86 }; 88 };
87 89
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698