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 71609b6dccb59fde6955c20d52a1041df190dc73..407251732504756d57d5a23048b3a8251d0d01a0 100644 |
--- a/chrome/browser/ui/views/avatar_menu_button.h |
+++ b/chrome/browser/ui/views/avatar_menu_button.h |
@@ -9,7 +9,6 @@ |
#include <string> |
#include "base/compiler_specific.h" |
-#include "chrome/browser/ui/views/bubble/bubble.h" |
#include "ui/base/models/simple_menu_model.h" |
#include "views/controls/button/menu_button.h" |
#include "views/controls/menu/view_menu_delegate.h" |
@@ -25,8 +24,7 @@ class Browser; |
// The button can optionally have a menu attached to it. |
class AvatarMenuButton : public views::MenuButton, |
- public views::ViewMenuDelegate, |
- public Bubble::Observer { |
+ public views::ViewMenuDelegate { |
public: |
// Creates a new button. If |has_menu| is true then clicking on the button |
// will cause the profile menu to be displayed. |
@@ -47,11 +45,7 @@ class AvatarMenuButton : public views::MenuButton, |
// views::ViewMenuDelegate |
virtual void RunMenu(views::View* source, const gfx::Point& pt) OVERRIDE; |
- // Bubble::Observer implementation. |
- virtual void OnBubbleClosing(); |
- |
Browser* browser_; |
- Bubble* bubble_; |
bool has_menu_; |
bool set_taskbar_decoration_; |
scoped_ptr<ui::MenuModel> menu_model_; |