Index: chrome/browser/ui/views/toolbar_view.h |
=================================================================== |
--- chrome/browser/ui/views/toolbar_view.h (revision 163351) |
+++ chrome/browser/ui/views/toolbar_view.h (working copy) |
@@ -47,7 +47,8 @@ |
public chrome::search::SearchModelObserver, |
public content::NotificationObserver, |
public CommandObserver, |
- public views::ButtonListener { |
+ public views::ButtonListener, |
+ public views::WidgetObserver { |
public: |
// The view class name. |
static const char kViewClassName[]; |
@@ -136,6 +137,10 @@ |
virtual void ButtonPressed(views::Button* sender, |
const ui::Event& event) OVERRIDE; |
+ // Overridden from views::WidgetObserver: |
+ virtual void OnWidgetVisibilityChanged(views::Widget* widget, |
+ bool visible) OVERRIDE; |
+ |
// Overridden from content::NotificationObserver: |
virtual void Observe(int type, |
const content::NotificationSource& source, |