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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/file_table.js

Issue 2914573003: M59: Revert of "Replace homebrew scrollbar in Files app with that of Blink." (Closed)
Patch Set: Revert of "Replace homebrew scrollbar in Files app with that of Blink." (patchset #3 id:40001 of ht… Created 3 years, 7 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: ui/file_manager/file_manager/foreground/js/ui/file_table.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_table.js b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
index b3624e46abbffcae79807ed31e3ec518275a7ba1..54a677a2da36e19485e87c430666a40c4b40ba13 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_table.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_table.js
@@ -429,6 +429,9 @@ FileTable.decorate = function(
self.setRenderFunction(self.renderTableRow_.bind(self,
self.getRenderFunction()));
+ self.scrollBar_ = new ScrollBar();
+ self.scrollBar_.initialize(self, self.list);
+
// Keep focus on the file list when clicking on the header.
self.header.addEventListener('mousedown', function(e) {
self.list.focus();
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/ui/file_grid.js ('k') | ui/file_manager/file_manager/foreground/js/ui/scrollbar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698