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

Unified Diff: chrome/browser/resources/md_history/history_list.js

Issue 2206363003: [MD History] Use proper shadows for cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_rounding
Patch Set: address comment, fix test 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/md_history/history_list.js
diff --git a/chrome/browser/resources/md_history/history_list.js b/chrome/browser/resources/md_history/history_list.js
index 7c27aa5e47b6876c2e6ea64210ad9d97c4cc0b66..11b59112e52d82afcd77d6f342b1d7140d652865 100644
--- a/chrome/browser/resources/md_history/history_list.js
+++ b/chrome/browser/resources/md_history/history_list.js
@@ -28,7 +28,7 @@ Polymer({
},
listeners: {
- 'infinite-list.scroll': 'notifyListScroll_',
+ 'scroll': 'notifyListScroll_',
'remove-bookmark-stars': 'removeBookmarkStars_',
},
@@ -38,6 +38,8 @@ Polymer({
// resize events to fire before the list is attached and can be measured.
// Adding another resize here ensures it will get sized correctly.
/** @type {IronListElement} */(this.$['infinite-list']).notifyResize();
+ this.$['infinite-list'].scrollTarget = this;
+ this.$['scroll-threshold'].scrollTarget = this;
},
/**

Powered by Google App Engine
This is Rietveld 408576698