Index: chrome/browser/ui/cocoa/browser_window_cocoa.h |
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.h b/chrome/browser/ui/cocoa/browser_window_cocoa.h |
index 00a31ae5c49189cb14f57e1c4d303a92de8f9885..ad7b18550710ef5768a4443f98f7e3c76736694e 100644 |
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.h |
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.h |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/bookmarks/bookmark_model.h" |
#include "chrome/browser/extensions/extension_keybinding_registry.h" |
#include "chrome/browser/ui/browser_window.h" |
+#include "chrome/browser/ui/search/search_model_observer.h" |
#include "ui/base/ui_base_types.h" |
class Browser; |
@@ -30,7 +31,8 @@ class Extension; |
class BrowserWindowCocoa : |
public BrowserWindow, |
- public extensions::ExtensionKeybindingRegistry::Delegate { |
+ public extensions::ExtensionKeybindingRegistry::Delegate, |
+ public chrome::search::SearchModelObserver { |
public: |
BrowserWindowCocoa(Browser* browser, |
BrowserWindowController* controller); |
@@ -151,6 +153,10 @@ class BrowserWindowCocoa : |
virtual extensions::ActiveTabPermissionGranter* |
GetActiveTabPermissionGranter() OVERRIDE; |
+ // Overridden from chrome::search::SearchModelObserver: |
+ virtual void ModeChanged(const chrome::search::Mode& old_mode, |
+ const chrome::search::Mode& new_mode) OVERRIDE; |
+ |
// Adds the given FindBar cocoa controller to this browser window. |
void AddFindBar(FindBarCocoaController* find_bar_cocoa_controller); |