Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(717)

Unified Diff: ui/gfx/native_widget_types.h

Issue 420653003: MacViews: Accessibility bridge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix double delete. Add NativeViewAccessibilityTest. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..43d8943ff17a5f4aa072962e3423fdb17125b124 100644
--- a/ui/gfx/native_widget_types.h
+++ b/ui/gfx/native_widget_types.h
@@ -147,7 +147,11 @@ typedef CGContext* NativeDrawingContext;
typedef NSFont* NativeFont;
typedef NSTextField* NativeEditView;
typedef CGContext* NativeDrawingContext;
+#ifdef __OBJC__
+typedef id NativeViewAccessible;
tapted 2014/07/29 23:58:21 for mac, could this just be `typedef NativeView Na
Andre 2014/07/30 00:18:00 I don't think so. NativeViewAccessible is any Obj-
+#else
typedef void* NativeViewAccessible;
+#endif
#elif defined(USE_CAIRO)
typedef PangoFontDescription* NativeFont;
typedef void* NativeEditView;

Powered by Google App Engine
This is Rietveld 408576698