| Index: ui/aura/window_tree_host.h
|
| diff --git a/ui/aura/window_tree_host.h b/ui/aura/window_tree_host.h
|
| index 8e9bbd4cc526fd9981861db65bae61953a272892..2c48d79a0df4963c67ba7e0890631ea0806db6c9 100644
|
| --- a/ui/aura/window_tree_host.h
|
| +++ b/ui/aura/window_tree_host.h
|
| @@ -135,14 +135,6 @@ class AURA_EXPORT WindowTreeHost {
|
| // Releases OS capture of the root window.
|
| virtual void ReleaseCapture() = 0;
|
|
|
| - // Queries the mouse's current position relative to the host window and sets
|
| - // it in |location_return|. Returns true if the cursor is within the host
|
| - // window. The position set to |location_return| is constrained within the
|
| - // host window. If the cursor is disabled, returns false and (0, 0) is set to
|
| - // |location_return|.
|
| - // This method is expensive, instead use gfx::Screen::GetCursorScreenPoint().
|
| - virtual bool QueryMouseLocation(gfx::Point* location_return) = 0;
|
| -
|
| // Posts |native_event| to the platform's event queue.
|
| virtual void PostNativeEvent(const base::NativeEvent& native_event) = 0;
|
|
|
| @@ -177,6 +169,8 @@ class AURA_EXPORT WindowTreeHost {
|
| virtual void OnCursorVisibilityChangedNative(bool show) = 0;
|
|
|
| private:
|
| + friend class WindowTreeHostTestApi;
|
| +
|
| // Moves the cursor to the specified location. This method is internally used
|
| // by MoveCursorTo() and MoveCursorToHostLocation().
|
| void MoveCursorToInternal(const gfx::Point& root_location,
|
| @@ -196,6 +190,7 @@ class AURA_EXPORT WindowTreeHost {
|
|
|
| // Last cursor set. Used for testing.
|
| gfx::NativeCursor last_cursor_;
|
| + gfx::Point last_cursor_request_position_in_host_;
|
|
|
| scoped_ptr<ui::ViewProp> prop_;
|
|
|
|
|