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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab-extracted.js

Issue 1336623003: [MD settings] updating polymer to 1.1.13 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed Polymer.IronCheckedElementBehavior name Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab-extracted.js
diff --git a/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab-extracted.js
index 4bbdec5be29806fec3c650db9ae37a2345afd340..149c193846b0d42ee08bed531d34ceda1e225143 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab-extracted.js
+++ b/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tab-extracted.js
@@ -3,7 +3,8 @@ Polymer({
is: 'paper-tab',
behaviors: [
- Polymer.IronControlState
+ Polymer.IronControlState,
+ Polymer.IronButtonState
],
properties: {
@@ -25,7 +26,11 @@ Polymer({
},
listeners: {
- down: '_onDown'
+ down: '_updateNoink'
+ },
+
+ attached: function() {
+ this._updateNoink();
},
get _parentNoink () {
@@ -33,7 +38,7 @@ Polymer({
return !!parent && !!parent.noink;
},
- _onDown: function(e) {
+ _updateNoink: function() {
this.noink = !!this.noink || !!this._parentNoink;
}
});

Powered by Google App Engine
This is Rietveld 408576698