summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.h
diff options
context:
space:
mode:
authoryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 23:50:34 +0000
committeryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-18 23:50:34 +0000
commit85457bd21f5553e4e6630b3fd46b7af60cd1807a (patch)
treee844b466e765b543fc783c2174c1eae0baa996ec /ui/aura/window.h
parent3b9dc439a6d22327acbfa03a728a2245b1926ab8 (diff)
downloadchromium_src-85457bd21f5553e4e6630b3fd46b7af60cd1807a.zip
chromium_src-85457bd21f5553e4e6630b3fd46b7af60cd1807a.tar.gz
chromium_src-85457bd21f5553e4e6630b3fd46b7af60cd1807a.tar.bz2
Revert 142852 - Aura: Add Window::MoveCursorTo() taking relative location to the window.
Previously, although RootWindow::MoveCursorTo() takes a ponit coordinate relative to Root, but OnMouseEvent/LockMouse in RWHVA are using coordinate relative to parent window (which may not be root). UnlockMouse is using global X/Y from webkit. This CL added Window::MoveCursorTo() taking relative location to the window, and made RWHVA use it. BUG=none TEST=manual Review URL: https://chromiumcodereview.appspot.com/10543174 TBR=yoshiki@chromium.org Review URL: https://chromiumcodereview.appspot.com/10574007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r--ui/aura/window.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 34a5702..a516730 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -213,9 +213,6 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
const Window* target,
gfx::Point* point);
- // Moves the cursor to the specified location relative to the window.
- virtual void MoveCursorTo(const gfx::Point& point_in_window);
-
// Returns the cursor for the specified point, in window coordinates.
gfx::NativeCursor GetCursor(const gfx::Point& point) const;