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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/paper-drawer-panel/paper-drawer-panel-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 (function() { 1
2 2
3 (function() {
4
3 'use strict'; 5 'use strict';
4 6
5 // this would be the only `paper-drawer-panel` in 7 // this would be the only `paper-drawer-panel` in
6 // the whole app that can be in `dragging` state 8 // the whole app that can be in `dragging` state
7 var sharedPanel = null; 9 var sharedPanel = null;
8 10
9 function classNames(obj) { 11 function classNames(obj) {
10 var classes = []; 12 var classes = [];
11 for (var key in obj) { 13 for (var key in obj) {
12 if (obj.hasOwnProperty(key) && obj[key]) { 14 if (obj.hasOwnProperty(key) && obj[key]) {
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 return this.hasWillChange ? 'translateX(' + translateX + 'px)' : 445 return this.hasWillChange ? 'translateX(' + translateX + 'px)' :
444 'translate3d(' + translateX + 'px, 0, 0)'; 446 'translate3d(' + translateX + 'px, 0, 0)';
445 }, 447 },
446 448
447 _moveDrawer: function(translateX) { 449 _moveDrawer: function(translateX) {
448 this.transform(this._transformForTranslateX(translateX), this.$.drawer); 450 this.transform(this._transformForTranslateX(translateX), this.$.drawer);
449 } 451 }
450 452
451 }); 453 });
452 454
453 }()); 455 }());
456
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698