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

Unified Diff: third_party/polymer/v0_8/components-chromium/paper-tabs/paper-tab-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, 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v0_8/components-chromium/paper-tabs/paper-tab-extracted.js
diff --git a/third_party/polymer/v0_8/components-chromium/paper-tabs/paper-tab-extracted.js b/third_party/polymer/v0_8/components-chromium/paper-tabs/paper-tab-extracted.js
new file mode 100644
index 0000000000000000000000000000000000000000..975d9910785ced5e406add8d9b0808c81c3abaab
--- /dev/null
+++ b/third_party/polymer/v0_8/components-chromium/paper-tabs/paper-tab-extracted.js
@@ -0,0 +1,42 @@
+
+
+ Polymer({
+
+ is: 'paper-tab',
+
+ behaviors: [
+ Polymer.IronControlState
+ ],
+
+ properties: {
+
+ /**
+ * If true, ink ripple effect is disabled.
+ *
+ * @attribute noink
+ */
+ noink: {
+ type: Boolean,
+ value: false
+ }
+
+ },
+
+ hostAttributes: {
+ role: 'tab'
+ },
+
+ listeners: {
+ down: '_onDown'
+ },
+
+ get _parentNoink () {
+ var parent = Polymer.dom(this).parentNode;
+ return !!parent && !!parent.noink;
+ },
+
+ _onDown: function(e) {
+ this.noink = !!this.noink || !!this._parentNoink;
+ }
+ });
+

Powered by Google App Engine
This is Rietveld 408576698