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

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

Issue 2253083003: [MD History] Add shadow to toolbar on scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@more_stats
Patch Set: rebase 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/list_container.js
diff --git a/chrome/browser/resources/md_history/list_container.js b/chrome/browser/resources/md_history/list_container.js
index 4ddd2209ef31ed9e1814bedffcc1d3c2b286c353..1ccf05c45ee354ec69f40e2f127a3b0badff3649 100644
--- a/chrome/browser/resources/md_history/list_container.js
+++ b/chrome/browser/resources/md_history/list_container.js
@@ -95,6 +95,11 @@ Polymer({
this.queryHistory(false);
},
+ /** @return {HTMLElement} */
+ getContentScrollTarget: function() {
+ return this.getSelectedList_();
+ },
+
/** @return {number} */
getSelectedItemCount: function() {
return this.getSelectedList_().selectedPaths.size;
@@ -253,7 +258,5 @@ Polymer({
* @return {HTMLElement}
* @private
*/
- getSelectedList_: function() {
- return this.$.content.selectedItem;
- },
+ getSelectedList_: function() { return this.$.content.selectedItem; },
});
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | chrome/browser/resources/md_history/synced_device_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698