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

Unified Diff: chrome/browser/ui/cocoa/browser_window_cocoa.h

Issue 11876036: Alternate NTP: Don't hide bookmark bar on instant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 7 years, 11 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/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);

Powered by Google App Engine
This is Rietveld 408576698