summaryrefslogtreecommitdiffstats
path: root/ash/drag_drop/drag_drop_controller_unittest.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-29 03:30:08 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-29 03:30:08 +0000
commitcac227892a21c955e2d74a0e37da4d7c6de0c55f (patch)
treeacbf6a03713c5c2ffcdc4654c8201228b7da01f7 /ash/drag_drop/drag_drop_controller_unittest.cc
parent3bffdb0865318012ebdb2fee93d8f3f2b639b2f9 (diff)
downloadchromium_src-cac227892a21c955e2d74a0e37da4d7c6de0c55f.zip
chromium_src-cac227892a21c955e2d74a0e37da4d7c6de0c55f.tar.gz
chromium_src-cac227892a21c955e2d74a0e37da4d7c6de0c55f.tar.bz2
Introduce RootWindowHostDelegate. The RootWindowHost performs most of its communication with RootWindow via this interface. The intent is to make the contract between RootWindowHost and RootWindow clearer.
BUG=none TEST=existing Review URL: https://chromiumcodereview.appspot.com/10825050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/drag_drop/drag_drop_controller_unittest.cc')
-rw-r--r--ash/drag_drop/drag_drop_controller_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc
index c4a7d9d..b56c1a3 100644
--- a/ash/drag_drop/drag_drop_controller_unittest.cc
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc
@@ -608,7 +608,8 @@ TEST_F(DragDropControllerTest, SyntheticEventsDuringDragDrop) {
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();