Chromium Code Reviews| Index: ui/gfx/native_widget_types.h |
| diff --git a/ui/gfx/native_widget_types.h b/ui/gfx/native_widget_types.h |
| index f7f2808cba950ee928b54826d2c865cfc935c106..24a7a9a24b4dfcc2cb93827f760834657a74d5d5 100644 |
| --- a/ui/gfx/native_widget_types.h |
| +++ b/ui/gfx/native_widget_types.h |
| @@ -143,11 +143,16 @@ typedef IAccessible* NativeViewAccessible; |
| typedef UIFont* NativeFont; |
| typedef UITextField* NativeEditView; |
| typedef CGContext* NativeDrawingContext; |
| +typedef void* NativeViewAccessible; |
|
dmazzoni
2014/07/30 05:53:12
Why wouldn't this be the same as OS_MACOSX? Is the
Andre
2014/07/30 18:50:16
Done.
The only reason I didn't do it for iOS is be
|
| #elif defined(OS_MACOSX) |
| typedef NSFont* NativeFont; |
| typedef NSTextField* NativeEditView; |
| typedef CGContext* NativeDrawingContext; |
| +#ifdef __OBJC__ |
| +typedef id NativeViewAccessible; |
| +#else |
| typedef void* NativeViewAccessible; |
| +#endif |
| #elif defined(USE_CAIRO) |
| typedef PangoFontDescription* NativeFont; |
| typedef void* NativeEditView; |