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

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

Issue 10696173: Revert "Revert 146000 - Split out ContentViewCore from ContentView for embedders." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase number deux Created 8 years, 5 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 | « content/public/browser/android/content_view_core.h ('k') | no next file » | 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 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 #if defined(TOOLKIT_GTK) 83 #if defined(TOOLKIT_GTK)
84 typedef struct _GdkCursor GdkCursor; 84 typedef struct _GdkCursor GdkCursor;
85 typedef union _GdkEvent GdkEvent; 85 typedef union _GdkEvent GdkEvent;
86 typedef struct _GdkPixbuf GdkPixbuf; 86 typedef struct _GdkPixbuf GdkPixbuf;
87 typedef struct _GdkRegion GdkRegion; 87 typedef struct _GdkRegion GdkRegion;
88 typedef struct _GtkWidget GtkWidget; 88 typedef struct _GtkWidget GtkWidget;
89 typedef struct _GtkWindow GtkWindow; 89 typedef struct _GtkWindow GtkWindow;
90 #elif defined(OS_ANDROID) 90 #elif defined(OS_ANDROID)
91 namespace content { 91 namespace content {
92 class ContentView; 92 class ContentViewCore;
93 } 93 }
94 #endif 94 #endif
95 class SkBitmap; 95 class SkBitmap;
96 96
97 namespace gfx { 97 namespace gfx {
98 98
99 #if defined(USE_AURA) 99 #if defined(USE_AURA)
100 typedef ui::Cursor NativeCursor; 100 typedef ui::Cursor NativeCursor;
101 typedef aura::Window* NativeView; 101 typedef aura::Window* NativeView;
102 typedef aura::Window* NativeWindow; 102 typedef aura::Window* NativeWindow;
(...skipping 11 matching lines...) Expand all
114 typedef NSWindow* NativeWindow; 114 typedef NSWindow* NativeWindow;
115 typedef NSEvent* NativeEvent; 115 typedef NSEvent* NativeEvent;
116 #elif defined(TOOLKIT_GTK) 116 #elif defined(TOOLKIT_GTK)
117 typedef GdkCursor* NativeCursor; 117 typedef GdkCursor* NativeCursor;
118 typedef GtkWidget* NativeView; 118 typedef GtkWidget* NativeView;
119 typedef GtkWindow* NativeWindow; 119 typedef GtkWindow* NativeWindow;
120 typedef GdkRegion* NativeRegion; 120 typedef GdkRegion* NativeRegion;
121 typedef GdkEvent* NativeEvent; 121 typedef GdkEvent* NativeEvent;
122 #elif defined(OS_ANDROID) 122 #elif defined(OS_ANDROID)
123 typedef void* NativeCursor; 123 typedef void* NativeCursor;
124 typedef content::ContentView* NativeView; 124 typedef content::ContentViewCore* NativeView;
125 typedef content::ContentView* NativeWindow; 125 typedef content::ContentViewCore* NativeWindow;
126 typedef void* NativeRegion; 126 typedef void* NativeRegion;
127 typedef jobject NativeEvent; 127 typedef jobject NativeEvent;
128 #endif 128 #endif
129 129
130 #if defined(OS_WIN) 130 #if defined(OS_WIN)
131 typedef HFONT NativeFont; 131 typedef HFONT NativeFont;
132 typedef HWND NativeEditView; 132 typedef HWND NativeEditView;
133 typedef HDC NativeDrawingContext; 133 typedef HDC NativeDrawingContext;
134 typedef HMENU NativeMenu; 134 typedef HMENU NativeMenu;
135 typedef IAccessible* NativeViewAccessible; 135 typedef IAccessible* NativeViewAccessible;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 #elif defined(OS_ANDROID) 283 #elif defined(OS_ANDROID)
284 typedef uint64 AcceleratedWidget; 284 typedef uint64 AcceleratedWidget;
285 const AcceleratedWidget kNullAcceleratedWidget = 0; 285 const AcceleratedWidget kNullAcceleratedWidget = 0;
286 #else 286 #else
287 #error unknown platform 287 #error unknown platform
288 #endif 288 #endif
289 289
290 } // namespace gfx 290 } // namespace gfx
291 291
292 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 292 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « content/public/browser/android/content_view_core.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698