Index: views/controls/menu/menu_item_view.cc |
=================================================================== |
--- views/controls/menu/menu_item_view.cc (revision 54553) |
+++ views/controls/menu/menu_item_view.cc (working copy) |
@@ -65,6 +65,9 @@ |
// static |
int MenuItemView::pref_menu_height_; |
+// static |
+const char MenuItemView::kViewClassName[] = "views/MenuItemView"; |
+ |
MenuItemView::MenuItemView(MenuDelegate* delegate) |
: delegate_(delegate), |
controller_(NULL), |
@@ -400,6 +403,10 @@ |
Init(parent, command, type, NULL); |
} |
+std::string MenuItemView::GetClassName() const { |
+ return kViewClassName; |
+} |
+ |
// Calculates all sizes that we can from the OS. |
// |
// This is invoked prior to Running a menu. |