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

Unified Diff: ui/views/cocoa/bridged_content_view.mm

Issue 2189583004: [not for review - epic CL] Adding Elastic+Momentum+Layered scrolling to views::ScrollView Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Combined rebase Created 4 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
Index: ui/views/cocoa/bridged_content_view.mm
diff --git a/ui/views/cocoa/bridged_content_view.mm b/ui/views/cocoa/bridged_content_view.mm
index 9e3eb49075df18bf43e362c25157898a49d38249..21b551d9fc6df5ca885314192dc3d629a3aca8e8 100644
--- a/ui/views/cocoa/bridged_content_view.mm
+++ b/ui/views/cocoa/bridged_content_view.mm
@@ -716,8 +716,8 @@ ui::KeyEvent GetCharacterEventFromNSEvent(NSEvent* event) {
if (!hostedView_)
return;
- ui::MouseWheelEvent event(theEvent);
- hostedView_->GetWidget()->OnMouseEvent(&event);
+ ui::ScrollEvent event(theEvent);
+ hostedView_->GetWidget()->OnScrollEvent(&event);
}
////////////////////////////////////////////////////////////////////////////////

Powered by Google App Engine
This is Rietveld 408576698