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

Unified Diff: chrome/browser/chromeos/frame/browser_view.h

Issue 7720012: Moves ownership of MenuItemView to MenuRunner as well as responbility (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 9 years, 4 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: chrome/browser/chromeos/frame/browser_view.h
diff --git a/chrome/browser/chromeos/frame/browser_view.h b/chrome/browser/chromeos/frame/browser_view.h
index 0c24c6e150a97ea138180b06416c6bfd64b9e7d5..9d7ae953a8b4f536894baca193c2f88fc903c565 100644
--- a/chrome/browser/chromeos/frame/browser_view.h
+++ b/chrome/browser/chromeos/frame/browser_view.h
@@ -28,6 +28,7 @@ class ImageButton;
class ImageView;
class MenuDelegate;
class MenuItemView;
+class MenuRunner;
} // namespace views
namespace chromeos {
@@ -129,7 +130,7 @@ class BrowserView : public ::BrowserView,
LayoutModeButton* layout_mode_button_;
// System menu.
- scoped_ptr<views::MenuItemView> system_menu_;
+ scoped_ptr<views::MenuRunner> system_menu_runner_;
scoped_ptr<views::MenuDelegate> system_menu_delegate_;
// Focused native widget before wrench menu shows up. We need this to properly
« no previous file with comments | « no previous file | chrome/browser/chromeos/frame/browser_view.cc » ('j') | chrome/browser/chromeos/status/network_menu.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698