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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs-extracted.js

Issue 1468623004: Update Polymer from 1.2.1 -> 1.2.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@travis-yml
Patch Set: local-state.html Created 5 years, 1 month 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 Polymer({
2 2
3 is: 'paper-tabs', 3 is: 'paper-tabs',
4 4
5 behaviors: [ 5 behaviors: [
6 Polymer.IronResizableBehavior, 6 Polymer.IronResizableBehavior,
7 Polymer.IronMenubarBehavior 7 Polymer.IronMenubarBehavior
8 ], 8 ],
9 9
10 properties: { 10 properties: {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 } 143 }
144 144
145 if (hideThisButton) { 145 if (hideThisButton) {
146 return 'not-visible'; 146 return 'not-visible';
147 } 147 }
148 148
149 return ''; 149 return '';
150 }, 150 },
151 151
152 _computeTabsContentClass: function(scrollable) { 152 _computeTabsContentClass: function(scrollable) {
153 return scrollable ? 'scrollable' : 'horizontal layout'; 153 return scrollable ? 'scrollable' : 'horizontal';
154 }, 154 },
155 155
156 _computeSelectionBarClass: function(noBar, alignBottom) { 156 _computeSelectionBarClass: function(noBar, alignBottom) {
157 if (noBar) { 157 if (noBar) {
158 return 'hidden'; 158 return 'hidden';
159 } else if (alignBottom) { 159 } else if (alignBottom) {
160 return 'align-bottom'; 160 return 'align-bottom';
161 } 161 }
162 }, 162 },
163 163
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 cl.remove('expand'); 321 cl.remove('expand');
322 cl.add('contract'); 322 cl.add('contract');
323 this._positionBar(this._pos.width, this._pos.left); 323 this._positionBar(this._pos.width, this._pos.left);
324 // bar animation done 324 // bar animation done
325 } else if (cl.contains('contract')) { 325 } else if (cl.contains('contract')) {
326 cl.remove('contract'); 326 cl.remove('contract');
327 } 327 }
328 } 328 }
329 329
330 }); 330 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698