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

Unified Diff: ui/views/controls/scrollbar/overlay_scroll_bar.cc

Issue 2478273003: Use overlay scrollbars for the cros system menu. (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | « ui/views/controls/scrollbar/overlay_scroll_bar.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scrollbar/overlay_scroll_bar.cc
diff --git a/ui/views/controls/scrollbar/overlay_scroll_bar.cc b/ui/views/controls/scrollbar/overlay_scroll_bar.cc
index 8da5f7d4290e92a8d0753b53c320a96993afdc4f..4a5e27e1b632763a6cf88f304595148f5ce541c1 100644
--- a/ui/views/controls/scrollbar/overlay_scroll_bar.cc
+++ b/ui/views/controls/scrollbar/overlay_scroll_bar.cc
@@ -139,10 +139,6 @@ void OverlayScrollBar::OnGestureEvent(ui::GestureEvent* event) {
BaseScrollBar::OnGestureEvent(event);
}
-gfx::Size OverlayScrollBar::GetPreferredSize() const {
- return gfx::Size();
-}
-
void OverlayScrollBar::Layout() {
gfx::Rect thumb_bounds = GetTrackBounds();
BaseScrollBarThumb* thumb = GetThumb();
@@ -156,7 +152,4 @@ void OverlayScrollBar::Layout() {
thumb->SetBoundsRect(thumb_bounds);
}
-void OverlayScrollBar::OnPaint(gfx::Canvas* canvas) {
-}
-
} // namespace views
« no previous file with comments | « ui/views/controls/scrollbar/overlay_scroll_bar.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698