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

Unified Diff: ash/common/system/tray/fixed_sized_scroll_view.cc

Issue 2558173006: Use overlay scrollbars by default in CrOS native UI. (Closed)
Patch Set: rebase Created 4 years 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
« no previous file with comments | « no previous file | ui/views/style/platform_style.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/fixed_sized_scroll_view.cc
diff --git a/ash/common/system/tray/fixed_sized_scroll_view.cc b/ash/common/system/tray/fixed_sized_scroll_view.cc
index 33fcef69cb9836ae9492eed2c1b4b234998e669b..d3c4a35691d6a8063aa56697a7d5f1ed65186a8d 100644
--- a/ash/common/system/tray/fixed_sized_scroll_view.cc
+++ b/ash/common/system/tray/fixed_sized_scroll_view.cc
@@ -5,7 +5,6 @@
#include "ash/common/system/tray/fixed_sized_scroll_view.h"
#include "ash/common/material_design/material_design_controller.h"
-#include "ui/views/controls/scrollbar/overlay_scroll_bar.h"
namespace ash {
@@ -19,10 +18,6 @@ bool UseMd() {
FixedSizedScrollView::FixedSizedScrollView() {
set_notify_enter_exit_on_child(true);
- if (UseMd()) {
- SetVerticalScrollBar(new views::OverlayScrollBar(false));
- SetHorizontalScrollBar(new views::OverlayScrollBar(true));
- }
}
FixedSizedScrollView::~FixedSizedScrollView() {}
« no previous file with comments | « no previous file | ui/views/style/platform_style.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698