summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_tree_host_ozone.h
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@chromium.org>2014-11-07 17:57:18 -0500
committerSadrul Habib Chowdhury <sadrul@chromium.org>2014-11-07 22:58:19 +0000
commitc332de7c1838b85e27685bed6c376c36ccb17287 (patch)
treeb8e32181eba16d61c59a576699bbb2f61eb876d0 /ui/aura/window_tree_host_ozone.h
parent24dff7c3f0e5760011e76db750294742f7e05ebb (diff)
downloadchromium_src-c332de7c1838b85e27685bed6c376c36ccb17287.zip
chromium_src-c332de7c1838b85e27685bed6c376c36ccb17287.tar.gz
chromium_src-c332de7c1838b85e27685bed6c376c36ccb17287.tar.bz2
aura: Remove WindowTreeHost::PostNativeEvent().
WindowTreeHost::PostNativeEvent() is only used in tests. So remove this from the public API. Instead: . For Win32, directly use PostMessage (this is used in only two places). . For Ozone, use EventSourceTestApi to inject the event (this is equivalent to current code, in terms of not doing the right thing when menus are open). . For X11, introduce aura::test::PostEventToWindowTreeHost() instead, and use it in tests. BUG=none R=sky@chromium.org Review URL: https://codereview.chromium.org/710553002 Cr-Commit-Position: refs/heads/master@{#303315}
Diffstat (limited to 'ui/aura/window_tree_host_ozone.h')
-rw-r--r--ui/aura/window_tree_host_ozone.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/aura/window_tree_host_ozone.h b/ui/aura/window_tree_host_ozone.h
index f0e8c98..52d7ca8 100644
--- a/ui/aura/window_tree_host_ozone.h
+++ b/ui/aura/window_tree_host_ozone.h
@@ -47,7 +47,6 @@ class AURA_EXPORT WindowTreeHostOzone : public WindowTreeHost,
virtual gfx::Point GetLocationOnNativeScreen() const override;
virtual void SetCapture() override;
virtual void ReleaseCapture() override;
- virtual void PostNativeEvent(const base::NativeEvent& event) override;
virtual void SetCursorNative(gfx::NativeCursor cursor_type) override;
virtual void MoveCursorToNative(const gfx::Point& location) override;
virtual void OnCursorVisibilityChangedNative(bool show) override;