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

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

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

Powered by Google App Engine
This is Rietveld 408576698