| Index: ash/shell.h
|
| diff --git a/ash/shell.h b/ash/shell.h
|
| index d57f519c1fe699be6beddbb012813f217842f795..89c170a32c52e71119e6ae900ed84616ef6f7a79 100644
|
| --- a/ash/shell.h
|
| +++ b/ash/shell.h
|
| @@ -11,7 +11,6 @@
|
| #include "ash/ash_export.h"
|
| #include "ash/shelf_types.h"
|
| #include "ash/system/user/login_status.h"
|
| -#include "ash/wm/cursor_manager.h"
|
| #include "ash/wm/system_modal_container_event_filter_delegate.h"
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| @@ -23,6 +22,7 @@
|
| #include "ui/gfx/insets.h"
|
| #include "ui/gfx/screen.h"
|
| #include "ui/gfx/size.h"
|
| +#include "ui/views/corewm/cursor_manager.h"
|
|
|
| class CommandLine;
|
|
|
| @@ -70,6 +70,7 @@ class MessageCenter;
|
| namespace ash {
|
|
|
| class AcceleratorController;
|
| +class AshCursorPlatformDelegate;
|
| class CapsLockDelegate;
|
| class DesktopBackgroundController;
|
| class DisplayController;
|
| @@ -327,7 +328,7 @@ class ASH_EXPORT Shell
|
| internal::EventTransformationHandler* event_transformation_handler() {
|
| return event_transformation_handler_.get();
|
| }
|
| - CursorManager* cursor_manager() { return &cursor_manager_; }
|
| + views::corewm::CursorManager* cursor_manager() { return &cursor_manager_; }
|
|
|
| ShellDelegate* delegate() { return delegate_.get(); }
|
|
|
| @@ -585,7 +586,10 @@ class ASH_EXPORT Shell
|
|
|
| scoped_ptr<message_center::MessageCenter> message_center_;
|
|
|
| - CursorManager cursor_manager_;
|
| + // |cursor_platform_delegate_| is owned by |cursor_manager_|, but we keep a
|
| + // pointer to vend to test code.
|
| + AshCursorPlatformDelegate* cursor_platform_delegate_;
|
| + views::corewm::CursorManager cursor_manager_;
|
|
|
| ObserverList<ShellObserver> observers_;
|
|
|
|
|