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

Side by Side 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, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_ 5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_
6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_ 6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 9
10 #if defined(OS_ANDROID) 10 #if defined(OS_ANDROID)
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 typedef HDC NativeDrawingContext; 140 typedef HDC NativeDrawingContext;
141 typedef IAccessible* NativeViewAccessible; 141 typedef IAccessible* NativeViewAccessible;
142 #elif defined(OS_IOS) 142 #elif defined(OS_IOS)
143 typedef UIFont* NativeFont; 143 typedef UIFont* NativeFont;
144 typedef UITextField* NativeEditView; 144 typedef UITextField* NativeEditView;
145 typedef CGContext* NativeDrawingContext; 145 typedef CGContext* NativeDrawingContext;
146 #elif defined(OS_MACOSX) 146 #elif defined(OS_MACOSX)
147 typedef NSFont* NativeFont; 147 typedef NSFont* NativeFont;
148 typedef NSTextField* NativeEditView; 148 typedef NSTextField* NativeEditView;
149 typedef CGContext* NativeDrawingContext; 149 typedef CGContext* NativeDrawingContext;
150 #ifdef __OBJC__
151 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-
152 #else
150 typedef void* NativeViewAccessible; 153 typedef void* NativeViewAccessible;
154 #endif
151 #elif defined(USE_CAIRO) 155 #elif defined(USE_CAIRO)
152 typedef PangoFontDescription* NativeFont; 156 typedef PangoFontDescription* NativeFont;
153 typedef void* NativeEditView; 157 typedef void* NativeEditView;
154 typedef cairo_t* NativeDrawingContext; 158 typedef cairo_t* NativeDrawingContext;
155 typedef void* NativeViewAccessible; 159 typedef void* NativeViewAccessible;
156 #else 160 #else
157 typedef void* NativeFont; 161 typedef void* NativeFont;
158 typedef void* NativeEditView; 162 typedef void* NativeEditView;
159 typedef void* NativeDrawingContext; 163 typedef void* NativeDrawingContext;
160 typedef void* NativeViewAccessible; 164 typedef void* NativeViewAccessible;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 #elif defined(USE_OZONE) 260 #elif defined(USE_OZONE)
257 typedef intptr_t AcceleratedWidget; 261 typedef intptr_t AcceleratedWidget;
258 const AcceleratedWidget kNullAcceleratedWidget = 0; 262 const AcceleratedWidget kNullAcceleratedWidget = 0;
259 #else 263 #else
260 #error unknown platform 264 #error unknown platform
261 #endif 265 #endif
262 266
263 } // namespace gfx 267 } // namespace gfx
264 268
265 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 269 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698