Index: views/controls/menu/submenu_view.cc |
=================================================================== |
--- views/controls/menu/submenu_view.cc (revision 54553) |
+++ views/controls/menu/submenu_view.cc (working copy) |
@@ -22,6 +22,9 @@ |
// static |
const int SubmenuView::kSubmenuBorderSize = 3; |
+// static |
+const char SubmenuView::kViewClassName[] = "views/SubmenuView"; |
+ |
SubmenuView::SubmenuView(MenuItemView* parent) |
: parent_menu_item_(parent), |
host_(NULL), |
@@ -298,6 +301,10 @@ |
GetMenuItem()->GetMenuController()->Cancel(MenuController::EXIT_DESTROYED); |
} |
+std::string SubmenuView::GetClassName() const { |
+ return kViewClassName; |
+} |
+ |
void SubmenuView::PaintDropIndicator(gfx::Canvas* canvas, |
MenuItemView* item, |
MenuDelegate::DropPosition position) { |