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

Unified Diff: chrome/browser/ui/browser_instant_controller.h

Issue 17114002: Field trial removing tiles from NTP if URL is already open - for 1993 clients (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed rebase issues Created 7 years, 5 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/browser_instant_controller.h
diff --git a/chrome/browser/ui/browser_instant_controller.h b/chrome/browser/ui/browser_instant_controller.h
index 0f9414fb1dd66d71c7e17df2c83f8a8e27b2f9fb..f2b9c1086536378983048d6d1934443ab4accd74 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 "net/base/network_change_notifier.h"
#include "ui/base/window_open_disposition.h"
@@ -54,6 +55,9 @@ class BrowserInstantController
// Returns the Profile associated with the Browser that owns this object.
Profile* profile() const;
+ // Returns the TabStripModel associated with the Browser owning this object.
+ const TabStripModel* tab_strip_model() const;
+
// Returns the InstantController or NULL if there is no InstantController for
// this BrowserInstantController.
InstantController* instant() { return &instant_; }

Powered by Google App Engine
This is Rietveld 408576698