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

Unified Diff: ui/aura/window_event_dispatcher.cc

Issue 2956463002: Convert the mouse exit only use for update UI hover state to mouse move (Closed)
Patch Set: delete test Created 3 years, 6 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 | ui/events/blink/web_input_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_event_dispatcher.cc
diff --git a/ui/aura/window_event_dispatcher.cc b/ui/aura/window_event_dispatcher.cc
index e8eb94d6b2c2693f63ffa1273c1289a3c2101796..e3f9d14843aa6fc351af0da54e298db0a955b69c 100644
--- a/ui/aura/window_event_dispatcher.cc
+++ b/ui/aura/window_event_dispatcher.cc
@@ -177,6 +177,7 @@ DispatchDetails WindowEventDispatcher::DispatchMouseExitAtPoint(
const gfx::Point& point) {
ui::MouseEvent event(ui::ET_MOUSE_EXITED, point, point, ui::EventTimeForNow(),
ui::EF_NONE, ui::EF_NONE);
+ event.set_only_for_ui_hover_state(true);
return DispatchMouseEnterOrExit(window, event, ui::ET_MOUSE_EXITED);
}
« no previous file with comments | « no previous file | ui/events/blink/web_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698