Index: components/mus/ws/server_window.h |
diff --git a/components/mus/ws/server_window.h b/components/mus/ws/server_window.h |
index 89d291b393581b6e8049916c40b74d198654eafc..b97f2f8a50a5077bc1e7c0fb8e135a0a1fe9d62c 100644 |
--- a/components/mus/ws/server_window.h |
+++ b/components/mus/ws/server_window.h |
@@ -74,6 +74,8 @@ class ServerWindow { |
const gfx::Insets& client_area() const { return client_area_; } |
void SetClientArea(const gfx::Insets& insets); |
+ int32_t cursor() const { return cursor_id_; } |
+ |
const ServerWindow* parent() const { return parent_; } |
ServerWindow* parent() { return parent_; } |
@@ -111,6 +113,8 @@ class ServerWindow { |
float opacity() const { return opacity_; } |
void SetOpacity(float value); |
+ void SetCursor(mus::mojom::Cursor cursor_id); |
sky
2015/12/01 21:48:00
Name this consistently with the mojom, so either P
|
+ |
const gfx::Transform& transform() const { return transform_; } |
void SetTransform(const gfx::Transform& transform); |
@@ -181,6 +185,7 @@ class ServerWindow { |
gfx::Rect bounds_; |
gfx::Insets client_area_; |
scoped_ptr<ServerWindowSurfaceManager> surface_manager_; |
+ mojom::Cursor cursor_id_; |
float opacity_; |
bool can_focus_; |
gfx::Transform transform_; |