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

Side by Side Diff: chrome/browser/resources/md_downloads/toolbar.js

Issue 2172833002: MD Downloads: finally use allow-outside-scroll and drop the pushScrollLock hack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@roll-polymer
Patch Set: merge Created 4 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('downloads', function() { 5 cr.define('downloads', function() {
6 var Toolbar = Polymer({ 6 var Toolbar = Polymer({
7 is: 'downloads-toolbar', 7 is: 'downloads-toolbar',
8 8
9 attached: function() { 9 attached: function() {
10 // isRTL() only works after i18n_template.js runs to set <html dir>. 10 // isRTL() only works after i18n_template.js runs to set <html dir>.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 /** @private */ 105 /** @private */
106 updateClearAll_: function() { 106 updateClearAll_: function() {
107 this.$$('#actions .clear-all').hidden = !this.canClearAll(); 107 this.$$('#actions .clear-all').hidden = !this.canClearAll();
108 this.$$('paper-menu .clear-all').hidden = !this.canClearAll(); 108 this.$$('paper-menu .clear-all').hidden = !this.canClearAll();
109 }, 109 },
110 }); 110 });
111 111
112 return {Toolbar: Toolbar}; 112 return {Toolbar: Toolbar};
113 }); 113 });
114
115 // TODO(dbeam): https://github.com/PolymerElements/iron-dropdown/pull/16/files
116 /** @suppress {checkTypes} */
117 (function() {
118 Polymer.IronDropdownScrollManager.pushScrollLock = function() {};
119 })();
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/toolbar.html ('k') | chrome/browser/resources/md_downloads/vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698