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

Unified Diff: app/gfx/native_widget_types.h

Issue 340077: Gets find bar animation/clipping to work on views/gtk. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: app/gfx/native_widget_types.h
===================================================================
--- app/gfx/native_widget_types.h (revision 30814)
+++ app/gfx/native_widget_types.h (working copy)
@@ -51,6 +51,7 @@
typedef struct _GtkWidget GtkWidget;
typedef struct _GtkWindow GtkWindow;
typedef struct _cairo cairo_t;
+typedef struct _GdkRegion GdkRegion;
#endif
namespace gfx {
@@ -62,6 +63,7 @@
typedef HDC NativeDrawingContext;
typedef HCURSOR NativeCursor;
typedef HMENU NativeMenu;
+typedef HRGN NativeRegion;
#elif defined(OS_MACOSX)
typedef NSView* NativeView;
typedef NSWindow* NativeWindow;
@@ -76,6 +78,7 @@
typedef cairo_t* NativeDrawingContext;
typedef GdkCursor* NativeCursor;
typedef GtkWidget* NativeMenu;
+typedef GdkRegion* NativeRegion;
#endif
// Note: for test_shell we're packing a pointer into the NativeViewId. So, if
« no previous file with comments | « app/app.gyp ('k') | app/gfx/path.h » ('j') | chrome/browser/views/find_bar_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698