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

Unified Diff: ui/views/controls/scroll_view.cc

Issue 2496643002: Implement Sebastien's overlay scrollbars for native UI (Views). (Closed)
Patch Set: fix test failure 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/scroll_view.h ('k') | ui/views/controls/scroll_view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/scroll_view.cc
diff --git a/ui/views/controls/scroll_view.cc b/ui/views/controls/scroll_view.cc
index b62972d894f5f99ea6e2fd30ba37486025bf7bb6..77c12b62bb4d38433baa99085a54002a3dc2e1b0 100644
--- a/ui/views/controls/scroll_view.cc
+++ b/ui/views/controls/scroll_view.cc
@@ -456,20 +456,6 @@ bool ScrollView::OnMouseWheel(const ui::MouseWheelEvent& e) {
return processed;
}
-void ScrollView::OnMouseEntered(const ui::MouseEvent& event) {
- if (horiz_sb_)
- horiz_sb_->OnMouseEnteredScrollView(event);
- if (vert_sb_)
- vert_sb_->OnMouseEnteredScrollView(event);
-}
-
-void ScrollView::OnMouseExited(const ui::MouseEvent& event) {
- if (horiz_sb_)
- horiz_sb_->OnMouseExitedScrollView(event);
- if (vert_sb_)
- vert_sb_->OnMouseExitedScrollView(event);
-}
-
void ScrollView::OnScrollEvent(ui::ScrollEvent* event) {
#if defined(OS_MACOSX)
// TODO(tapted): Send |event| to a cc::InputHandler. For now, there's nothing
« no previous file with comments | « ui/views/controls/scroll_view.h ('k') | ui/views/controls/scroll_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698