summaryrefslogtreecommitdiffstats
path: root/views/controls/menu/menu_item_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/menu/menu_item_view.h')
-rw-r--r--views/controls/menu/menu_item_view.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/controls/menu/menu_item_view.h b/views/controls/menu/menu_item_view.h
index a85e265..c528671 100644
--- a/views/controls/menu/menu_item_view.h
+++ b/views/controls/menu/menu_item_view.h
@@ -218,6 +218,9 @@ class MenuItemView : public View {
has_icons_ = has_icons;
}
+ // Returns the descendant with the specified command.
+ MenuItemView* GetMenuItemByID(int id);
+
protected:
// Creates a MenuItemView. This is used by the various AddXXX methods.
MenuItemView(MenuItemView* parent, int command, Type type);
@@ -240,9 +243,6 @@ class MenuItemView : public View {
const SkBitmap& icon,
Type type);
- // Returns the descendant with the specified command.
- MenuItemView* GetDescendantByID(int id);
-
// Invoked by the MenuController when the menu closes as the result of
// drag and drop run.
void DropMenuClosed(bool notify_delegate);