Reenable overlay scrollbars

BUG=326635
TEST=Existing
R=jdduke

Review URL: https://codereview.chromium.org/124283003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243194 0039d316-1c4b-4281-b951-d872f2087c98
parent 6bbc1f13
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment