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

Unified Diff: third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages-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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages-extracted.js
diff --git a/third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages-extracted.js b/third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages-extracted.js
index 503d9b5c10c875f47a8bd5bdf2ae315de3cfebb5..c175b14c7f5abe74bc8d591e256e7e03c59096d4 100644
--- a/third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages-extracted.js
+++ b/third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages-extracted.js
@@ -9,6 +9,18 @@
Polymer.IronSelectableBehavior
],
+ properties: {
+
+ // as the selected page is the only one visible, activateEvent
+ // is both non-sensical and problematic; e.g. in cases where a user
+ // handler attempts to change the page and the activateEvent
+ // handler immediately changes it back
+ activateEvent: {
+ value: null
+ }
+
+ },
+
observers: [
'_selectedPageChanged(selected)'
],

Powered by Google App Engine
This is Rietveld 408576698