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

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

Issue 2654873006: Revert of Replace homebrew scrollbar in Files app with that of Blink. (Closed)
Patch Set: Sync to head. Created 3 years, 11 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 758df3478cee871268cf6bb4d9de3ca374b4c9c2..dca897ed31fb592c1831a8fce458d9320ff32790 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