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

Side by Side Diff: ui/gfx/native_widget_types.h

Issue 1192583002: Revert of views: Move TOOLKIT_VIEWS definition in //ui/views/ from root. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 #elif defined(OS_MACOSX) 128 #elif defined(OS_MACOSX)
129 typedef NSCursor* NativeCursor; 129 typedef NSCursor* NativeCursor;
130 typedef NSView* NativeView; 130 typedef NSView* NativeView;
131 typedef NSWindow* NativeWindow; 131 typedef NSWindow* NativeWindow;
132 typedef NSEvent* NativeEvent; 132 typedef NSEvent* NativeEvent;
133 #elif defined(OS_ANDROID) 133 #elif defined(OS_ANDROID)
134 typedef void* NativeCursor; 134 typedef void* NativeCursor;
135 typedef ui::ViewAndroid* NativeView; 135 typedef ui::ViewAndroid* NativeView;
136 typedef ui::WindowAndroid* NativeWindow; 136 typedef ui::WindowAndroid* NativeWindow;
137 typedef jobject NativeEvent; 137 typedef jobject NativeEvent;
138 #else
139 #error Unknown build environment.
140 #endif 138 #endif
141 139
142 #if defined(OS_WIN) 140 #if defined(OS_WIN)
143 typedef HFONT NativeFont; 141 typedef HFONT NativeFont;
144 typedef HWND NativeEditView; 142 typedef HWND NativeEditView;
145 typedef HDC NativeDrawingContext; 143 typedef HDC NativeDrawingContext;
146 typedef IAccessible* NativeViewAccessible; 144 typedef IAccessible* NativeViewAccessible;
147 #elif defined(OS_IOS) 145 #elif defined(OS_IOS)
148 typedef UIFont* NativeFont; 146 typedef UIFont* NativeFont;
149 typedef UITextField* NativeEditView; 147 typedef UITextField* NativeEditView;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 #elif defined(USE_OZONE) 269 #elif defined(USE_OZONE)
272 typedef intptr_t AcceleratedWidget; 270 typedef intptr_t AcceleratedWidget;
273 const AcceleratedWidget kNullAcceleratedWidget = 0; 271 const AcceleratedWidget kNullAcceleratedWidget = 0;
274 #else 272 #else
275 #error unknown platform 273 #error unknown platform
276 #endif 274 #endif
277 275
278 } // namespace gfx 276 } // namespace gfx
279 277
280 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 278 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698