summaryrefslogtreecommitdiffstats
path: root/ash/test
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-10 22:47:32 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-10 22:47:32 +0000
commita0695522cd9b30f87461513fa9e472afb5e4a304 (patch)
treeb1c6290f774f07e1b5ead7d10bf4197410fccacc /ash/test
parentf636ce801b677854048affa6d550a9ac84c611b0 (diff)
downloadchromium_src-a0695522cd9b30f87461513fa9e472afb5e4a304.zip
chromium_src-a0695522cd9b30f87461513fa9e472afb5e4a304.tar.gz
chromium_src-a0695522cd9b30f87461513fa9e472afb5e4a304.tar.bz2
Provide access to the WindowEventDispatcher as a ui::EventProcessor.
This avoids using WED from a number of places and moves us closer to a world where WED is more of an implementation detail of WTH. R=sky@chromium.org TBR=sky@chromium.org http://crbug.com/308843 Review URL: https://codereview.chromium.org/191153004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256053 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/test')
-rw-r--r--ash/test/ash_test_base.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/test/ash_test_base.cc b/ash/test/ash_test_base.cc
index ecc1e8f..9c9cbe3 100644
--- a/ash/test/ash_test_base.cc
+++ b/ash/test/ash_test_base.cc
@@ -58,12 +58,12 @@ class AshEventGeneratorDelegate : public aura::test::EventGeneratorDelegate {
virtual ~AshEventGeneratorDelegate() {}
// aura::test::EventGeneratorDelegate overrides:
- virtual aura::WindowEventDispatcher* GetDispatcherAt(
+ virtual aura::WindowTreeHost* GetHostAt(
const gfx::Point& point_in_screen) const OVERRIDE {
gfx::Screen* screen = Shell::GetScreen();
gfx::Display display = screen->GetDisplayNearestPoint(point_in_screen);
return Shell::GetInstance()->display_controller()->
- GetRootWindowForDisplayId(display.id())->GetHost()->dispatcher();
+ GetRootWindowForDisplayId(display.id())->GetHost();
}
virtual aura::client::ScreenPositionClient* GetScreenPositionClient(