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

Unified Diff: ui/gfx/native_widget_types.h

Issue 2119413004: a11y: Exclude children of nested keyboard accessible controls from a11y tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on top of 2704263002. Created 3 years, 10 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 44e1d2611c6a277e88153204394b6c64364d2a1b..fa227751bf8272de40c1a6b13b7e2a5576c72f8a 100644
--- a/ui/gfx/native_widget_types.h
+++ b/ui/gfx/native_widget_types.h
@@ -12,6 +12,8 @@
#if defined(OS_ANDROID)
#include <jni.h>
+#elif defined(OS_MACOSX)
+#include <objc/objc.h>
#endif
// This file provides cross platform typedefs for native widget types.
@@ -146,11 +148,7 @@ typedef void* NativeViewAccessible;
#endif // __OBJC__
#elif defined(OS_MACOSX)
typedef NSFont* NativeFont;
-#ifdef __OBJC__
typedef id NativeViewAccessible;
-#else
-typedef void* NativeViewAccessible;
-#endif // __OBJC__
#else // Android, Linux, Chrome OS, etc.
// Linux doesn't have a native font type.
#if defined(USE_X11) && !defined(OS_CHROMEOS)

Powered by Google App Engine
This is Rietveld 408576698