Chromium Code Reviews| Index: ash/wm/cursor_manager.h |
| diff --git a/ash/wm/cursor_manager.h b/ash/wm/cursor_manager.h |
| index f5b5548b8684b4e300c1a8619684e82b543f5b71..b6afc5bed1d74915d2f9b89fa6890921d4fcbb88 100644 |
| --- a/ash/wm/cursor_manager.h |
| +++ b/ash/wm/cursor_manager.h |
| @@ -5,10 +5,10 @@ |
| #ifndef ASH_WM_CURSOR_MANAGER_H_ |
| #define ASH_WM_CURSOR_MANAGER_H_ |
| +#include "ash/ash_export.h" |
| #include "base/basictypes.h" |
| #include "base/compiler_specific.h" |
| #include "base/memory/scoped_ptr.h" |
| -#include "ui/aura/aura_export.h" |
| #include "ui/aura/client/cursor_client.h" |
| #include "ui/gfx/native_widget_types.h" |
| @@ -19,8 +19,21 @@ class ImageCursors; |
| // This class controls the visibility and the type of the cursor. |
| // The cursor type can be locked so that the type stays the same |
| // until it's unlocked. |
| -class CursorManager : public aura::client::CursorClient { |
| +class ASH_EXPORT CursorManager : public aura::client::CursorClient { |
| public: |
| + class ASH_EXPORT TestApi { |
| + public: |
| + explicit TestApi(CursorManager* cursor_manager); |
| + |
| + gfx::NativeCursor current_cursor(); |
|
oshima
2012/09/20 20:19:03
GetCurrentCursor()
mazda
2012/09/20 20:29:31
Done.
|
| + float GetDeviceScaleFactor(); |
| + |
| + private: |
| + CursorManager* cursor_manager_; // not owned |
| + |
| + DISALLOW_COPY_AND_ASSIGN(TestApi); |
| + }; |
| + |
| CursorManager(); |
| virtual ~CursorManager(); |