Index: chrome/browser/ui/browser_instant_controller.h |
diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h |
index defc8b6cffb669dd60a19d589149a5f699c3220a..ad16a3d33aad8498284ca61fb57032b345317fb1 100644 |
--- a/chrome/browser/ui/browser_instant_controller.h |
+++ b/chrome/browser/ui/browser_instant_controller.h |
@@ -13,6 +13,7 @@ |
#include "chrome/browser/ui/search/instant_controller.h" |
#include "chrome/browser/ui/search/instant_unload_handler.h" |
#include "chrome/browser/ui/search/search_model_observer.h" |
+#include "chrome/browser/ui/tabs/tab_strip_model.h" |
#include "content/public/browser/notification_observer.h" |
#include "content/public/browser/notification_registrar.h" |
#include "ui/base/window_open_disposition.h" |
@@ -55,6 +56,9 @@ class BrowserInstantController : public content::NotificationObserver, |
// Returns the Profile associated with the Browser that owns this object. |
Profile* profile() const; |
+ // Returns the TabStripModel associated with the Browser owning this object. |
+ TabStripModel* tab_strip_model() const; |
beaudoin
2013/06/20 21:55:44
Can you return a const TabStripModel* ?
annark1
2013/07/04 18:29:15
Done.
|
+ |
// Returns the InstantController or NULL if there is no InstantController for |
// this BrowserInstantController. |
InstantController* instant() { return &instant_; } |