Index: views/controls/menu/menu_item_view.h |
=================================================================== |
--- views/controls/menu/menu_item_view.h (revision 54553) |
+++ views/controls/menu/menu_item_view.h (working copy) |
@@ -6,6 +6,8 @@ |
#define VIEWS_CONTROLS_MENU_MENU_ITEM_VIEW_H_ |
#pragma once |
+#include <string> |
+ |
#if defined(OS_WIN) |
#include <windows.h> |
#endif |
@@ -54,6 +56,9 @@ |
public: |
friend class MenuController; |
+ // The menu item view's class name. |
+ static const char kViewClassName[]; |
+ |
// ID used to identify menu items. |
static const int kMenuItemViewID; |
@@ -265,6 +270,8 @@ |
// Creates a MenuItemView. This is used by the various AddXXX methods. |
MenuItemView(MenuItemView* parent, int command, Type type); |
+ virtual std::string GetClassName() const; |
+ |
private: |
// Calculates all sizes that we can from the OS. |
// |