summaryrefslogtreecommitdiffstats
path: root/base/gfx
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-08 20:59:19 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-08 20:59:19 +0000
commit4bd23f35c4b4b7eab1796170789a8f00e7984972 (patch)
tree7808a313bbc7c4bf7b79717175dc29fc0b8557f1 /base/gfx
parentd09b0922f3831944386850682b584e4dccf60357 (diff)
downloadchromium_src-4bd23f35c4b4b7eab1796170789a8f00e7984972.zip
chromium_src-4bd23f35c4b4b7eab1796170789a8f00e7984972.tar.gz
chromium_src-4bd23f35c4b4b7eab1796170789a8f00e7984972.tar.bz2
A new menu system for views.
This is all the functionality needed for the page, app menus and browser system menus. Review URL: http://codereview.chromium.org/119237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx')
-rw-r--r--base/gfx/native_widget_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/gfx/native_widget_types.h b/base/gfx/native_widget_types.h
index b6361cf..9444a61 100644
--- a/base/gfx/native_widget_types.h
+++ b/base/gfx/native_widget_types.h
@@ -61,18 +61,21 @@ typedef HWND NativeWindow;
typedef HWND NativeEditView;
typedef HDC NativeDrawingContext;
typedef HCURSOR NativeCursor;
+typedef HMENU NativeMenu;
#elif defined(OS_MACOSX)
typedef NSView* NativeView;
typedef NSWindow* NativeWindow;
typedef NSTextField* NativeEditView;
typedef CGContext* NativeDrawingContext;
typedef void* NativeCursor;
+typedef void* NativeMenu;
#elif defined(OS_LINUX)
typedef GtkWidget* NativeView;
typedef GtkWindow* NativeWindow;
typedef GtkWidget* NativeEditView;
typedef cairo_surface_t* NativeDrawingContext;
typedef GdkCursor* NativeCursor;
+typedef GtkWidget* NativeMenu;
#endif
// Note: for test_shell we're packing a pointer into the NativeViewId. So, if