Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1180)

Unified Diff: ui/views/controls/menu/menu_runner.h

Issue 393943006: MacViews: Remove GetMenu() from MenuRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/views/controls/menu/menu_runner.h
diff --git a/ui/views/controls/menu/menu_runner.h b/ui/views/controls/menu/menu_runner.h
index a96bfb2ee42f06738fde3b5536bf3b4282667f3a..f220cc45309e1e157f3c3dfb84081fa137cf74d5 100644
--- a/ui/views/controls/menu/menu_runner.h
+++ b/ui/views/controls/menu/menu_runner.h
@@ -98,14 +98,6 @@ class VIEWS_EXPORT MenuRunner {
MenuRunner(MenuItemView* menu, int32 run_types);
~MenuRunner();
- // Returns the menu.
- MenuItemView* GetMenu();
-
- // Takes ownership of |menu|, deleting it when MenuRunner is deleted. You
- // only need call this if you create additional menus from
- // MenuDelegate::GetSiblingMenu.
- void OwnMenu(MenuItemView* menu);
-
// Runs the menu. If this returns MENU_DELETED the method is returning
// because the MenuRunner was deleted.
// Typically callers should NOT do any processing if this returns

Powered by Google App Engine
This is Rietveld 408576698