summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_2.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-28 06:32:33 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-28 06:32:33 +0000
commit6827766b1fcc5885b7a8bc8c707e283f71f46f09 (patch)
tree11dc18b19363119d8ab06faf6521b8d6d4d94d52 /views/controls/menu/menu_2.h
parentce681a8b14c05752f9279e7ed945943506f7d628 (diff)
downloadchromium_src-6827766b1fcc5885b7a8bc8c707e283f71f46f09.zip
chromium_src-6827766b1fcc5885b7a8bc8c707e283f71f46f09.tar.gz
chromium_src-6827766b1fcc5885b7a8bc8c707e283f71f46f09.tar.bz2
Create views.dll / libviews.so
R=sky@chromium.org,rvargas@chromium.org Review URL: http://codereview.chromium.org/7493017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/menu/menu_2.h')
-rw-r--r--views/controls/menu/menu_2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/controls/menu/menu_2.h b/views/controls/menu/menu_2.h
index 01cb51b..9357290 100644
--- a/views/controls/menu/menu_2.h
+++ b/views/controls/menu/menu_2.h
@@ -9,6 +9,7 @@
#include "base/memory/scoped_ptr.h"
#include "ui/base/models/menu_model.h"
#include "views/controls/menu/menu_wrapper.h"
+#include "views/views_api.h"
namespace gfx {
class Point;
@@ -24,7 +25,7 @@ class View;
// WARNING: do NOT create and use Menu2 on the stack. Menu2 notifies the model
// of selection AFTER a delay. This means that if use a Menu2 on the stack
// ActivatedAt is never invoked.
-class Menu2 {
+class VIEWS_API Menu2 {
public:
// Creates a new menu populated with the contents of |model|.
// WARNING: this populates the menu on construction by invoking methods on