| Index: ui/gfx/native_widget_types.h
|
| diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h
|
| index 307e141a376fd071c084a8454a4f40a47f760fcb..16cf377cd3247da44bfae5cfca16aeb107618588 100644
|
| --- a/ui/gfx/native_widget_types.h
|
| +++ b/ui/gfx/native_widget_types.h
|
| @@ -43,6 +43,8 @@
|
| // 'views'.
|
|
|
| #if defined(USE_AURA)
|
| +#include "ui/aura/cursor.h"
|
| +
|
| class SkRegion;
|
| namespace aura {
|
| class Event;
|
| @@ -104,8 +106,7 @@ class AcceleratedSurface;
|
| namespace gfx {
|
|
|
| #if defined(USE_AURA)
|
| -// See ui/aura/cursor.h for values.
|
| -typedef int NativeCursor;
|
| +typedef aura::Cursor NativeCursor;
|
| typedef aura::Window* NativeView;
|
| typedef aura::Window* NativeWindow;
|
| typedef SkRegion* NativeRegion;
|
| @@ -182,7 +183,11 @@ typedef void* NativeViewAccessible;
|
| #endif
|
|
|
| // A constant value to indicate that gfx::NativeCursor refers to no cursor.
|
| +#if defined(USE_AURA)
|
| +const int kNullCursor = 0;
|
| +#else
|
| const gfx::NativeCursor kNullCursor = static_cast<gfx::NativeCursor>(NULL);
|
| +#endif
|
|
|
| #if defined(OS_MACOSX)
|
| typedef NSImage NativeImageType;
|
|
|