summaryrefslogtreecommitdiffstats
path: root/ash/wm/ash_native_cursor_manager.h
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-28 23:46:20 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-28 23:46:20 +0000
commit68bd9289ad689ff35a4efe5755ea06d9e4230297 (patch)
treed08291c13ede612446b5d3509662498315fe8c32 /ash/wm/ash_native_cursor_manager.h
parent2f264fc0b3981e9c72965a4d3d18be75c935d133 (diff)
downloadchromium_src-68bd9289ad689ff35a4efe5755ea06d9e4230297.zip
chromium_src-68bd9289ad689ff35a4efe5755ea06d9e4230297.tar.gz
chromium_src-68bd9289ad689ff35a4efe5755ea06d9e4230297.tar.bz2
app_shell: Add support for mouse cursors.
Move ImageCursors from ash/wm/ to ui/base/cursors/ and add a NativeCursorManager implementation for ShellDesktopController to use. BUG=364290 TEST=cursor is visible when running app_shell on a Chrome OS device and changes after mousing over a link Review URL: https://codereview.chromium.org/258893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266694 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/ash_native_cursor_manager.h')
-rw-r--r--ash/wm/ash_native_cursor_manager.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ash/wm/ash_native_cursor_manager.h b/ash/wm/ash_native_cursor_manager.h
index 80ecc8e..290b701 100644
--- a/ash/wm/ash_native_cursor_manager.h
+++ b/ash/wm/ash_native_cursor_manager.h
@@ -15,14 +15,16 @@
#include "ui/wm/core/native_cursor_manager.h"
#include "ui/wm/core/native_cursor_manager_delegate.h"
+namespace ui {
+class ImageCursors;
+}
+
namespace ash {
namespace test {
class CursorManagerTestApi;
}
-class ImageCursors;
-
// This does the ash-specific setting of cursor details like cursor
// visibility. It communicates back with the CursorManager through the
// NativeCursorManagerDelegate interface, which receives messages about what
@@ -64,7 +66,7 @@ class ASH_EXPORT AshNativeCursorManager
bool native_cursor_enabled_;
- scoped_ptr<ImageCursors> image_cursors_;
+ scoped_ptr<ui::ImageCursors> image_cursors_;
DISALLOW_COPY_AND_ASSIGN(AshNativeCursorManager);
};