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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/directory_tree.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/directory_tree.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
index 489ee969522412470350c52ad39078c79c2209ef..b02bfafebd7133b32f5645ee44e8f59746207636 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/directory_tree.js
@@ -1254,6 +1254,9 @@ DirectoryTree.prototype.decorateDirectoryTree = function(
chrome.fileManagerPrivate.onDirectoryChanged.addListener(
this.privateOnDirectoryChangedBound_);
+ this.scrollBar_ = new ScrollBar();
+ this.scrollBar_.initialize(this.parentElement, this);
+
/**
* Flag to show fake entries in the tree.
* @type {boolean}

Powered by Google App Engine
This is Rietveld 408576698