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

Unified Diff: athena/main/debug/network_selector.cc

Issue 428583003: athena: Use overlay scrollbars. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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
« no previous file with comments | « athena/main/athena_main.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/main/debug/network_selector.cc
diff --git a/athena/main/debug/network_selector.cc b/athena/main/debug/network_selector.cc
index 39ef9a86a88130942eaa5aaa16aab3c9d641b837..9102e105cf28a39d2993b44aa9ac875829293bd5 100644
--- a/athena/main/debug/network_selector.cc
+++ b/athena/main/debug/network_selector.cc
@@ -33,6 +33,7 @@
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/scroll_view.h"
+#include "ui/views/controls/scrollbar/overlay_scroll_bar.h"
#include "ui/views/controls/textfield/textfield.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/layout/fill_layout.h"
@@ -376,6 +377,7 @@ class NetworkSelector : public ui::NetworkListDelegate,
scroller_->SetContents(scroll_content_);
scroller_->ClipHeightTo(kListHeight, kListHeight);
+ scroller_->SetVerticalScrollBar(new views::OverlayScrollBar(false));
background_view_->AddChildView(scroller_);
background_view_->Layout();
« no previous file with comments | « athena/main/athena_main.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698