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

Unified Diff: content/renderer/input/input_handler_proxy.cc

Issue 124283003: Reenable overlay scrollbars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add CHECK() call Created 6 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/input_handler_proxy.cc
diff --git a/content/renderer/input/input_handler_proxy.cc b/content/renderer/input/input_handler_proxy.cc
index d937a247b2247566a0ec81cb3f61f85a56a0e971..fa95881c2f1528239cb7f92f94a60e52d056d045 100644
--- a/content/renderer/input/input_handler_proxy.cc
+++ b/content/renderer/input/input_handler_proxy.cc
@@ -229,6 +229,14 @@ InputHandlerProxy::EventDisposition InputHandlerProxy::HandleInputEvent(
return DROP_EVENT;
} else if (WebInputEvent::isKeyboardEventType(event.type)) {
CancelCurrentFling();
+ } else if (event.type == WebInputEvent::MouseMove) {
+ const WebMouseEvent& mouse_event =
+ *static_cast<const WebMouseEvent*>(&event);
+ // TODO(tony): Ignore when mouse buttons are down?
+ // TODO(davemoore): This should never happen, but bug #326635 showed some
+ // surprising crashes.
+ CHECK(input_handler_);
+ input_handler_->MouseMoveAt(gfx::Point(mouse_event.x, mouse_event.y));
}
return DID_NOT_HANDLE;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698