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

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

Issue 338633003: Prerender Instant search base url on omnibox focus event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 6 years, 6 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 3953c69f4d72882b5f7e9e744698adef41bda88f..623a0829f00bee34b6eca3a2187eb60edae3b271 100644
--- a/chrome/browser/ui/browser_instant_controller.h
+++ b/chrome/browser/ui/browser_instant_controller.h
@@ -44,6 +44,13 @@ class BrowserInstantController : public SearchModelObserver,
// Invoked by |browser_| when the active tab changes.
void ActiveTabChanged();
+ // Invoked by |browser_| when a new WebContents was inserted into the
+ // TabStripModel at the specified index |foreground| is whether or not it was
+ // opened in the foreground (selected).
+ void TabInsertedAt(content::WebContents* contents,
+ int index,
+ bool foreground);
+
// Invoked by |browser_| when the active tab is about to be deactivated.
void TabDeactivated(content::WebContents* contents);

Powered by Google App Engine
This is Rietveld 408576698