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

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

Issue 187483005: Extending the Views-on-Mac experiment: whole app list grid. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: still compiles r263560 + crrev/195793005 Created 6 years, 8 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
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gl/gl_surface_mac.cc » ('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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 #elif defined(OS_IOS) 118 #elif defined(OS_IOS)
119 typedef void* NativeCursor; 119 typedef void* NativeCursor;
120 typedef UIView* NativeView; 120 typedef UIView* NativeView;
121 typedef UIWindow* NativeWindow; 121 typedef UIWindow* NativeWindow;
122 typedef UIEvent* NativeEvent; 122 typedef UIEvent* NativeEvent;
123 #elif defined(OS_MACOSX) 123 #elif defined(OS_MACOSX)
124 typedef NSCursor* NativeCursor; 124 typedef NSCursor* NativeCursor;
125 typedef NSView* NativeView; 125 typedef NSView* NativeView;
126 typedef NSWindow* NativeWindow; 126 typedef NSWindow* NativeWindow;
127 typedef NSEvent* NativeEvent; 127 typedef NSEvent* NativeEvent;
128
129 class NativeRegionImpl {
130
131 };
132 typedef NativeRegionImpl NativeRegion;
133
128 #elif defined(OS_ANDROID) 134 #elif defined(OS_ANDROID)
129 typedef void* NativeCursor; 135 typedef void* NativeCursor;
130 typedef ui::ViewAndroid* NativeView; 136 typedef ui::ViewAndroid* NativeView;
131 typedef ui::WindowAndroid* NativeWindow; 137 typedef ui::WindowAndroid* NativeWindow;
132 typedef void* NativeRegion; 138 typedef void* NativeRegion;
133 typedef jobject NativeEvent; 139 typedef jobject NativeEvent;
134 #endif 140 #endif
135 141
136 #if defined(OS_WIN) 142 #if defined(OS_WIN)
137 typedef HFONT NativeFont; 143 typedef HFONT NativeFont;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 #elif defined(USE_OZONE) 261 #elif defined(USE_OZONE)
256 typedef intptr_t AcceleratedWidget; 262 typedef intptr_t AcceleratedWidget;
257 const AcceleratedWidget kNullAcceleratedWidget = 0; 263 const AcceleratedWidget kNullAcceleratedWidget = 0;
258 #else 264 #else
259 #error unknown platform 265 #error unknown platform
260 #endif 266 #endif
261 267
262 } // namespace gfx 268 } // namespace gfx
263 269
264 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 270 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gl/gl_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698