Index: ash/shell.cc |
diff --git a/ash/shell.cc b/ash/shell.cc |
index a01990e3f85d5f06dfe9ce57a7837c351c3f897f..fd1ee7dab68d92511da4ecc1640b08e68cf6d6ef 100644 |
--- a/ash/shell.cc |
+++ b/ash/shell.cc |
@@ -17,6 +17,7 @@ |
#include "ash/desktop_background/desktop_background_controller.h" |
#include "ash/desktop_background/desktop_background_view.h" |
#include "ash/desktop_background/user_wallpaper_delegate.h" |
+#include "ash/display/cursor_window_controller.h" |
#include "ash/display/display_controller.h" |
#include "ash/display/display_manager.h" |
#include "ash/display/event_transformation_handler.h" |
@@ -552,6 +553,12 @@ void Shell::SetTouchHudProjectionEnabled(bool enabled) { |
ash::FirstRunHelper* Shell::CreateFirstRunHelper() { |
return new ash::FirstRunHelperImpl; |
} |
+ |
+void Shell::SetCursorCompositingEnabled(bool enabled) { |
+ display_controller_->cursor_window_controller()->SetCursorCompositingEnabled( |
+ enabled); |
+ cursor_manager_.SetNativeCursorEnabled(!enabled); |
+} |
#endif // defined(OS_CHROMEOS) |
void Shell::DoInitialWorkspaceAnimation() { |