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

Side by Side Diff: chrome/browser/resources/md_downloads/crisper.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
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/toolbar.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 /** 5 /**
6 * @fileoverview Assertion support. 6 * @fileoverview Assertion support.
7 */ 7 */
8 8
9 /** 9 /**
10 * Verify |condition| is truthy and return |condition| if so. 10 * Verify |condition| is truthy and return |condition| if so.
(...skipping 11742 matching lines...) Expand 10 before | Expand all | Expand 10 after
11753 11753
11754 /** @private */ 11754 /** @private */
11755 updateClearAll_: function() { 11755 updateClearAll_: function() {
11756 this.$$('#actions .clear-all').hidden = !this.canClearAll(); 11756 this.$$('#actions .clear-all').hidden = !this.canClearAll();
11757 this.$$('paper-menu .clear-all').hidden = !this.canClearAll(); 11757 this.$$('paper-menu .clear-all').hidden = !this.canClearAll();
11758 }, 11758 },
11759 }); 11759 });
11760 11760
11761 return {Toolbar: Toolbar}; 11761 return {Toolbar: Toolbar};
11762 }); 11762 });
11763
11764 // TODO(dbeam): https://github.com/PolymerElements/iron-dropdown/pull/16/files
11765 /** @suppress {checkTypes} */
11766 (function() {
11767 Polymer.IronDropdownScrollManager.pushScrollLock = function() {};
11768 })();
11769 // Copyright 2015 The Chromium Authors. All rights reserved. 11763 // Copyright 2015 The Chromium Authors. All rights reserved.
11770 // Use of this source code is governed by a BSD-style license that can be 11764 // Use of this source code is governed by a BSD-style license that can be
11771 // found in the LICENSE file. 11765 // found in the LICENSE file.
11772 11766
11773 cr.define('downloads', function() { 11767 cr.define('downloads', function() {
11774 var Manager = Polymer({ 11768 var Manager = Polymer({
11775 is: 'downloads-manager', 11769 is: 'downloads-manager',
11776 11770
11777 properties: { 11771 properties: {
11778 hasDownloads_: { 11772 hasDownloads_: {
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
11948 Manager.get().updateItem_(index, data); 11942 Manager.get().updateItem_(index, data);
11949 }; 11943 };
11950 11944
11951 return {Manager: Manager}; 11945 return {Manager: Manager};
11952 }); 11946 });
11953 // Copyright 2015 The Chromium Authors. All rights reserved. 11947 // Copyright 2015 The Chromium Authors. All rights reserved.
11954 // Use of this source code is governed by a BSD-style license that can be 11948 // Use of this source code is governed by a BSD-style license that can be
11955 // found in the LICENSE file. 11949 // found in the LICENSE file.
11956 11950
11957 window.addEventListener('load', downloads.Manager.onLoad); 11951 window.addEventListener('load', downloads.Manager.onLoad);
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/md_downloads/toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698