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

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

Powered by Google App Engine
This is Rietveld 408576698