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

Unified Diff: ash/display/mouse_cursor_event_filter.cc

Issue 237893002: Fix behavior of WindowEventDispatcher::SynthesizeMouseMoveEvent(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synthesize DRAGGED events when mouse button is down. Add more unit tests. Created 6 years, 8 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/aura/env.h » ('j') | ui/aura/window_event_dispatcher_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/mouse_cursor_event_filter.cc
diff --git a/ash/display/mouse_cursor_event_filter.cc b/ash/display/mouse_cursor_event_filter.cc
index cbc2207bc37985c44d440e5ecedf15a6f8fe29c5..8807f9900af4c5fcdbb79521ec969cd96d4c20ca 100644
--- a/ash/display/mouse_cursor_event_filter.cc
+++ b/ash/display/mouse_cursor_event_filter.cc
@@ -98,10 +98,8 @@ void MouseCursorEventFilter::OnMouseEvent(ui::MouseEvent* event) {
return;
}
- if (!(event->flags() & ui::EF_IS_SYNTHESIZED)) {
- Shell::GetInstance()->display_controller()->
- cursor_window_controller()->UpdateLocation();
- }
+ Shell::GetInstance()->display_controller()->
+ cursor_window_controller()->UpdateLocation();
gfx::Point point_in_screen(event->location());
wm::ConvertPointToScreen(target, &point_in_screen);
« no previous file with comments | « no previous file | ui/aura/env.h » ('j') | ui/aura/window_event_dispatcher_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698