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

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

Issue 1261403002: Add paper-menu-button and its dependencies to third_party/polymer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reproduce.sh 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
2 2
3 Polymer({ 3 Polymer({
4 4
5 is: 'iron-pages', 5 is: 'iron-pages',
6 6
7 behaviors: [ 7 behaviors: [
8 Polymer.IronResizableBehavior, 8 Polymer.IronResizableBehavior,
9 Polymer.IronSelectableBehavior 9 Polymer.IronSelectableBehavior
10 ], 10 ],
11 11
12 properties: { 12 properties: {
13 13
14 // as the selected page is the only one visible, activateEvent 14 // as the selected page is the only one visible, activateEvent
15 // 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
16 // handler attempts to change the page and the activateEvent 16 // handler attempts to change the page and the activateEvent
17 // handler immediately changes it back 17 // handler immediately changes it back
18 activateEvent: { 18 activateEvent: {
19 type: String,
19 value: null 20 value: null
20 } 21 }
21 22
22 }, 23 },
23 24
24 observers: [ 25 observers: [
25 '_selectedPageChanged(selected)' 26 '_selectedPageChanged(selected)'
26 ], 27 ],
27 28
28 _selectedPageChanged: function(selected, old) { 29 _selectedPageChanged: function(selected, old) {
29 this.async(this.notifyResize); 30 this.async(this.notifyResize);
30 } 31 }
31 }); 32 });
32 33
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698