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

Unified Diff: ash/drag_drop/drag_drop_controller_unittest.cc

Issue 10825050: Introduce RootWindowHostDelegate. The RootWindowHost performs most of its communication with RootWi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/wm/system_gesture_event_filter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/drag_drop/drag_drop_controller_unittest.cc
===================================================================
--- ash/drag_drop/drag_drop_controller_unittest.cc (revision 148788)
+++ ash/drag_drop/drag_drop_controller_unittest.cc (working copy)
@@ -608,7 +608,8 @@
gfx::Point mouse_move_location = drag_view->bounds().CenterPoint();
aura::MouseEvent mouse_move(ui::ET_MOUSE_MOVED,
mouse_move_location, mouse_move_location, 0);
- Shell::GetPrimaryRootWindow()->DispatchMouseEvent(&mouse_move);
+ Shell::GetPrimaryRootWindow()->AsRootWindowHostDelegate()->OnHostMouseEvent(
+ &mouse_move);
}
generator.ReleaseLeftButton();
« no previous file with comments | « ash/accelerators/accelerator_controller_unittest.cc ('k') | ash/wm/system_gesture_event_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698