Chromium Code Reviews| Index: components/mus/public/interfaces/window_tree.mojom |
| diff --git a/components/mus/public/interfaces/window_tree.mojom b/components/mus/public/interfaces/window_tree.mojom |
| index 455929aa18485abcff093c17616413cce8ab2d0a..fdc46919f71170ac5d1aefc7f9457f3cfa334841 100644 |
| --- a/components/mus/public/interfaces/window_tree.mojom |
| +++ b/components/mus/public/interfaces/window_tree.mojom |
| @@ -5,6 +5,7 @@ |
| module mus.mojom; |
| import "components/mus/public/interfaces/compositor_frame.mojom"; |
| +import "components/mus/public/interfaces/cursor.mojom"; |
| import "components/mus/public/interfaces/input_events.mojom"; |
| import "components/mus/public/interfaces/mus_constants.mojom"; |
| import "components/mus/public/interfaces/surface_id.mojom"; |
| @@ -204,6 +205,13 @@ interface WindowTree { |
| SetFocus(uint32 window_id); |
| SetCanFocus(uint32 window_id, bool can_focus); |
| + // Sets the cursor when the pointer is inside |window_id| to a system standard |
| + // cursor provided by the window manager. |
| + SetPredefinedCursor(uint32 change_id, uint32 window_id, Cursor cursor_id); |
| + |
| + // TODO(erg): Additional cursor methods. Image based cursors, visibility, |
| + // and cursor locking. |
| + |
| // Set text input state for the given window. |
| SetWindowTextInputState(uint32 window_id, mojo.TextInputState state); |
| @@ -316,6 +324,8 @@ interface WindowTreeClient { |
| OnWindowFocused(uint32 focused_window_id); |
| + OnWindowSetPredefinedCursor(uint32 window_id, Cursor cursor_id); |
|
sky
2015/12/02 21:42:35
OnWindowPredefinedCursorChanged.
|
| + |
| // A change initiated from the client has completed. See description of |
| // change ids for details. |
| OnChangeCompleted(uint32 change_id, bool success); |