| Index: ui/platform_window/platform_window.h
|
| diff --git a/ui/platform_window/platform_window.h b/ui/platform_window/platform_window.h
|
| index a224f5a4325c877a686507cf7c9d9cda6c5cd4bd..bfeda6b02093d01c7ecb42be8b7a2d94fce507b6 100644
|
| --- a/ui/platform_window/platform_window.h
|
| +++ b/ui/platform_window/platform_window.h
|
| @@ -18,6 +18,7 @@ typedef unsigned long PlatformCursor;
|
| #else
|
| typedef void* PlatformCursor;
|
| #endif
|
| +
|
|
|
| class PlatformWindowDelegate;
|
|
|
| @@ -47,7 +48,13 @@ class PlatformWindow {
|
| virtual void Restore() = 0;
|
|
|
| virtual void SetCursor(PlatformCursor cursor) = 0;
|
| +
|
| + // Moves the cursor to |location|. Location is in platform window coordinates.
|
| virtual void MoveCursorTo(const gfx::Point& location) = 0;
|
| +
|
| + // Confines the cursor to |bounds| when it is in the platform window. |bounds|
|
| + // is in platform window coordinates.
|
| + virtual void ConfineCursorToBounds(const gfx::Rect& bounds) = 0;
|
| };
|
|
|
| } // namespace ui
|
|
|