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

Unified Diff: ui/aura/root_window.cc

Issue 9314021: Temporarily disable mouse move synthesis on win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-enable test Created 8 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 | ui/aura/window_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 1090209c71b3ed222f5397a0f88d34bc41b66190..b2f380e272044aebebfa198185e7992437eff0aa 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -762,6 +762,8 @@ void RootWindow::SynthesizeMouseMoveEvent() {
if (!synthesize_mouse_move_)
return;
synthesize_mouse_move_ = false;
+#if !defined(OS_WIN)
+ // Temporarily disabled for windows. See crbug.com/112222.
gfx::Point orig_mouse_location = last_mouse_location_;
layer()->transform().TransformPoint(orig_mouse_location);
@@ -771,7 +773,8 @@ void RootWindow::SynthesizeMouseMoveEvent() {
orig_mouse_location,
orig_mouse_location,
0);
- //DispatchMouseEvent(&event);
+ DispatchMouseEvent(&event);
+#endif
}
} // namespace aura
« no previous file with comments | « no previous file | ui/aura/window_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698