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

Unified Diff: chrome/browser/ui/views/avatar_menu_button.h

Issue 7331017: Multi-Profiles: Add icon chooser to profiles menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove debug code Created 9 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: chrome/browser/ui/views/avatar_menu_button.h
diff --git a/chrome/browser/ui/views/avatar_menu_button.h b/chrome/browser/ui/views/avatar_menu_button.h
index 9674995dcc5ad7ac1b906652aa77d109e8d7c1db..705fc572d15ca4ab5f39694f19b4ccc11fdf951f 100644
--- a/chrome/browser/ui/views/avatar_menu_button.h
+++ b/chrome/browser/ui/views/avatar_menu_button.h
@@ -16,6 +16,7 @@
namespace gfx {
class Canvas;
}
+class Browser;
// AvatarMenuButton
//
@@ -26,7 +27,8 @@ class AvatarMenuButton : public views::MenuButton,
public views::ViewMenuDelegate {
public:
// Creates a new button. The object will take ownership of the menu model.
- AvatarMenuButton(const std::wstring& text, ui::MenuModel* menu_model);
+ AvatarMenuButton(const std::wstring& text, ui::MenuModel* menu_model,
sky 2011/07/08 21:01:44 When you can't fill all params on the same line, t
sail 2011/07/08 21:53:57 Cleaned up the constructor.
+ Browser* browser);
virtual ~AvatarMenuButton();
@@ -37,6 +39,7 @@ class AvatarMenuButton : public views::MenuButton,
// views::ViewMenuDelegate
virtual void RunMenu(views::View* source, const gfx::Point& pt) OVERRIDE;
+ Browser* browser_;
scoped_ptr<ui::MenuModel> menu_model_;
DISALLOW_COPY_AND_ASSIGN(AvatarMenuButton);

Powered by Google App Engine
This is Rietveld 408576698