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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-pages/iron-pages-extracted.js

Issue 1287713002: [MD settings] merge polymer 1.0.11; hack for settings checkbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 Polymer({
2 2
3 Polymer({
4
5 is: 'iron-pages', 3 is: 'iron-pages',
6 4
7 behaviors: [ 5 behaviors: [
8 Polymer.IronResizableBehavior, 6 Polymer.IronResizableBehavior,
9 Polymer.IronSelectableBehavior 7 Polymer.IronSelectableBehavior
10 ], 8 ],
11 9
12 properties: { 10 properties: {
13 11
14 // as the selected page is the only one visible, activateEvent 12 // as the selected page is the only one visible, activateEvent
15 // is both non-sensical and problematic; e.g. in cases where a user 13 // is both non-sensical and problematic; e.g. in cases where a user
16 // handler attempts to change the page and the activateEvent 14 // handler attempts to change the page and the activateEvent
17 // handler immediately changes it back 15 // handler immediately changes it back
18 activateEvent: { 16 activateEvent: {
19 type: String, 17 type: String,
20 value: null 18 value: null
21 } 19 }
22 20
23 }, 21 },
24 22
25 observers: [ 23 observers: [
26 '_selectedPageChanged(selected)' 24 '_selectedPageChanged(selected)'
27 ], 25 ],
28 26
29 _selectedPageChanged: function(selected, old) { 27 _selectedPageChanged: function(selected, old) {
30 this.async(this.notifyResize); 28 this.async(this.notifyResize);
31 } 29 }
32 }); 30 });
33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698