Index: ash/shell.h |
diff --git a/ash/shell.h b/ash/shell.h |
index 4d15cd3083da3d815489318c62031e64606d1e2c..8ad6d10742b67996d9bcffe22ee7cbc8d680122b 100644 |
--- a/ash/shell.h |
+++ b/ash/shell.h |
@@ -499,6 +499,13 @@ class ASH_EXPORT Shell |
internal::DisplayErrorObserver* display_error_observer() { |
return display_error_observer_.get(); |
} |
+ |
+ // Toggles cursor compositing on/off. Native cursor is disabled when cursor |
+ // compositing is enabled, and vice versa. |
+ void SetCursorCompositingEnabled(bool enabled); |
+ bool is_cursor_compositing_enabled() const { |
+ return is_cursor_compositing_enabled_; |
+ } |
#endif // defined(USE_X11) |
internal::ResolutionNotificationController* |
@@ -698,6 +705,8 @@ class ASH_EXPORT Shell |
// Listens for output changes and updates the display manager. |
scoped_ptr<internal::DisplayChangeObserver> display_change_observer_; |
+ |
+ bool is_cursor_compositing_enabled_; |
oshima
2014/02/05 21:49:59
can we simply use one in CursorWindowController?
hshi1
2014/02/05 22:55:58
Done.
|
#endif // defined(USE_X11) |
#endif // defined(OS_CHROMEOS) |