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

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

Issue 231883003: [stash] 20140404-crbug-312961-mac-views-bridge-C-wholegrid Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « ui/gfx/mac/point_utils.mm ('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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 #elif defined(OS_IOS) 125 #elif defined(OS_IOS)
126 typedef void* NativeCursor; 126 typedef void* NativeCursor;
127 typedef UIView* NativeView; 127 typedef UIView* NativeView;
128 typedef UIWindow* NativeWindow; 128 typedef UIWindow* NativeWindow;
129 typedef UIEvent* NativeEvent; 129 typedef UIEvent* NativeEvent;
130 #elif defined(OS_MACOSX) 130 #elif defined(OS_MACOSX)
131 typedef NSCursor* NativeCursor; 131 typedef NSCursor* NativeCursor;
132 typedef NSView* NativeView; 132 typedef NSView* NativeView;
133 typedef NSWindow* NativeWindow; 133 typedef NSWindow* NativeWindow;
134 typedef NSEvent* NativeEvent; 134 typedef NSEvent* NativeEvent;
135
136 class NativeRegionImpl {
137
138 };
139 typedef NativeRegionImpl NativeRegion;
140
135 #elif defined(TOOLKIT_GTK) 141 #elif defined(TOOLKIT_GTK)
136 typedef GdkCursor* NativeCursor; 142 typedef GdkCursor* NativeCursor;
137 typedef GtkWidget* NativeView; 143 typedef GtkWidget* NativeView;
138 typedef GtkWindow* NativeWindow; 144 typedef GtkWindow* NativeWindow;
139 typedef GdkRegion* NativeRegion; 145 typedef GdkRegion* NativeRegion;
140 typedef GdkEvent* NativeEvent; 146 typedef GdkEvent* NativeEvent;
141 #elif defined(OS_ANDROID) 147 #elif defined(OS_ANDROID)
142 typedef void* NativeCursor; 148 typedef void* NativeCursor;
143 typedef ui::ViewAndroid* NativeView; 149 typedef ui::ViewAndroid* NativeView;
144 typedef ui::WindowAndroid* NativeWindow; 150 typedef ui::WindowAndroid* NativeWindow;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 #elif defined(USE_OZONE) 281 #elif defined(USE_OZONE)
276 typedef intptr_t AcceleratedWidget; 282 typedef intptr_t AcceleratedWidget;
277 const AcceleratedWidget kNullAcceleratedWidget = 0; 283 const AcceleratedWidget kNullAcceleratedWidget = 0;
278 #else 284 #else
279 #error unknown platform 285 #error unknown platform
280 #endif 286 #endif
281 287
282 } // namespace gfx 288 } // namespace gfx
283 289
284 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 290 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « ui/gfx/mac/point_utils.mm ('k') | ui/gl/gl_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698