summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_tree_host_ozone.cc
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-06 16:48:23 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-06 16:48:23 +0000
commit409ab6d55b6aa9cd4e9c00537ee9df00d5b02739 (patch)
treeeb959ced879642547ab3bd5098e2dced4b614364 /ui/aura/window_tree_host_ozone.cc
parent901f82e959c77e4dde3e3416852ed7bbfcf01ec8 (diff)
downloadchromium_src-409ab6d55b6aa9cd4e9c00537ee9df00d5b02739.zip
chromium_src-409ab6d55b6aa9cd4e9c00537ee9df00d5b02739.tar.gz
chromium_src-409ab6d55b6aa9cd4e9c00537ee9df00d5b02739.tar.bz2
Clean up WindowEventDispatcher some more.
. Eliminate the implementation of LayerAnimationObserver. It seems no one expects WED to be a LAO anymore. . Remove WindowTreeHostDelegate. This involves moving some of the functions to WTH, removing some completely, and moving the remainder to the WED public API. A little icky for now, but I plan to take a pass on cleaning up WED's public API once I get it pared down. . window_tree_host_x11_unittest provided an implementation of WTHD that was not WED. This is not a valid situation now since various functions in WTH now call directly through to WED. Replaced this with a simple EventHandler to test that events are being dispatched. R=sky@chromium.org http://crbug.com/308843 Review URL: https://codereview.chromium.org/188223002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window_tree_host_ozone.cc')
-rw-r--r--ui/aura/window_tree_host_ozone.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/aura/window_tree_host_ozone.cc b/ui/aura/window_tree_host_ozone.cc
index a2c6f3b..ea9c45b 100644
--- a/ui/aura/window_tree_host_ozone.cc
+++ b/ui/aura/window_tree_host_ozone.cc
@@ -110,7 +110,7 @@ void WindowTreeHostOzone::OnCursorVisibilityChangedNative(bool show) {
}
ui::EventProcessor* WindowTreeHostOzone::GetEventProcessor() {
- return delegate_->GetEventProcessor();
+ return dispatcher();
}
// static