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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/file_grid.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_grid.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
index 2557ef583286c5089d1993ded1b68284b689deec..e154cdbb5ed4387ade9af2883400a075b4ca5c4d 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/file_grid.js
@@ -82,6 +82,9 @@ FileGrid.decorate = function(
/** @private {function(!Event)} */
self.onThumbnailLoadedBound_ = self.onThumbnailLoaded_.bind(self);
+ self.scrollBar_ = new ScrollBar();
+ self.scrollBar_.initialize(self.parentElement, self);
+
self.itemConstructor = function(entry) {
var item = self.ownerDocument.createElement('li');
FileGrid.Item.decorate(

Powered by Google App Engine
This is Rietveld 408576698