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

Unified Diff: ui/views/controls/scrollbar/base_scroll_bar.h

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 | « ash/common/system/tray/tray_details_view.cc ('k') | ui/views/controls/scrollbar/overlay_scroll_bar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scrollbar/base_scroll_bar.h
diff --git a/ui/views/controls/scrollbar/base_scroll_bar.h b/ui/views/controls/scrollbar/base_scroll_bar.h
index 49def0973607d95372eaff43eeb28c565f1c4c13..c8ede5bcb99e0621fdc64bf6848004fa67b46aa2 100644
--- a/ui/views/controls/scrollbar/base_scroll_bar.h
+++ b/ui/views/controls/scrollbar/base_scroll_bar.h
@@ -68,8 +68,6 @@ class VIEWS_EXPORT BaseScrollBar : public ScrollBar,
CustomButton::ButtonState new_state);
// View overrides:
- gfx::Size GetPreferredSize() const override = 0;
- void Layout() override = 0;
bool OnMousePressed(const ui::MouseEvent& event) override;
void OnMouseReleased(const ui::MouseEvent& event) override;
void OnMouseCaptureLost() override;
@@ -102,9 +100,6 @@ class VIEWS_EXPORT BaseScrollBar : public ScrollBar,
void ExecuteCommand(int id) override;
protected:
- // View overrides:
- void OnPaint(gfx::Canvas* canvas) override = 0;
-
BaseScrollBarThumb* GetThumb() const;
CustomButton::ButtonState GetThumbTrackState() const;
« no previous file with comments | « ash/common/system/tray/tray_details_view.cc ('k') | ui/views/controls/scrollbar/overlay_scroll_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698