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

Unified Diff: ui/events/blink/input_handler_proxy.cc

Issue 2384053002: cancel overlay-scrollbar hover state when moving pointer out of window for ChromeOS (Closed)
Patch Set: add DCHECK Created 4 years, 2 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/events/blink/input_handler_proxy.cc
diff --git a/ui/events/blink/input_handler_proxy.cc b/ui/events/blink/input_handler_proxy.cc
index e2a2d3dbf525f63ef1234af00717d4fd81c0c7be..026c3e3efda1590a26bb9a4842945bdf4bda0314 100644
--- a/ui/events/blink/input_handler_proxy.cc
+++ b/ui/events/blink/input_handler_proxy.cc
@@ -405,6 +405,11 @@ InputHandlerProxy::EventDisposition InputHandlerProxy::HandleInputEvent(
input_handler_->MouseMoveAt(gfx::Point(mouse_event.x, mouse_event.y));
return DID_NOT_HANDLE;
}
+ case WebInputEvent::MouseLeave: {
+ CHECK(input_handler_);
+ input_handler_->MouseLeave();
+ return DID_NOT_HANDLE;
+ }
default:
if (WebInputEvent::isKeyboardEventType(event.type)) {

Powered by Google App Engine
This is Rietveld 408576698