summaryrefslogtreecommitdiffstats
path: root/mojo/examples/aura_demo
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-28 14:42:55 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-28 14:42:55 +0000
commitdc645d501fcfda65846eab80213df828f2d4e56e (patch)
tree9be73c749fe3bed6e3b97286737c36f3f185353b /mojo/examples/aura_demo
parent3ecf6982c562085d64b9367f684e7eb21b5290bc (diff)
downloadchromium_src-dc645d501fcfda65846eab80213df828f2d4e56e.zip
chromium_src-dc645d501fcfda65846eab80213df828f2d4e56e.tar.gz
chromium_src-dc645d501fcfda65846eab80213df828f2d4e56e.tar.bz2
aura: Remove WindowTreeHost::QueryMouseLocation().
The primary use-case for QueryMouseLocation() is for X11 interactive tests. The only other use was in WindowEventDispatcher, but that code is no longer necessary. BUG=none R=sky@chromium.org Review URL: https://codereview.chromium.org/251743004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266565 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/examples/aura_demo')
-rw-r--r--mojo/examples/aura_demo/window_tree_host_mojo.cc5
-rw-r--r--mojo/examples/aura_demo/window_tree_host_mojo.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/mojo/examples/aura_demo/window_tree_host_mojo.cc b/mojo/examples/aura_demo/window_tree_host_mojo.cc
index 5d935cd..c598dce 100644
--- a/mojo/examples/aura_demo/window_tree_host_mojo.cc
+++ b/mojo/examples/aura_demo/window_tree_host_mojo.cc
@@ -96,11 +96,6 @@ void WindowTreeHostMojo::ReleaseCapture() {
NOTIMPLEMENTED();
}
-bool WindowTreeHostMojo::QueryMouseLocation(gfx::Point* location_return) {
- NOTIMPLEMENTED() << "QueryMouseLocation";
- return false;
-}
-
void WindowTreeHostMojo::PostNativeEvent(
const base::NativeEvent& native_event) {
NOTIMPLEMENTED();
diff --git a/mojo/examples/aura_demo/window_tree_host_mojo.h b/mojo/examples/aura_demo/window_tree_host_mojo.h
index 3fca9f7..3514d1e3 100644
--- a/mojo/examples/aura_demo/window_tree_host_mojo.h
+++ b/mojo/examples/aura_demo/window_tree_host_mojo.h
@@ -42,7 +42,6 @@ class WindowTreeHostMojo : public aura::WindowTreeHost,
virtual gfx::Point GetLocationOnNativeScreen() const OVERRIDE;
virtual void SetCapture() OVERRIDE;
virtual void ReleaseCapture() OVERRIDE;
- virtual bool QueryMouseLocation(gfx::Point* location_return) OVERRIDE;
virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
virtual void OnDeviceScaleFactorChanged(float device_scale_factor) OVERRIDE;
virtual void SetCursorNative(gfx::NativeCursor cursor) OVERRIDE;