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

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

Issue 11466007: Add new IPC for searchbox to pipe SearchBox NavigateContentWindow calls to the browser. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressing Samarth's comments. Created 8 years 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 0cbaa8e7e3f2248a24bdeeedf659efaa4368533b..8a438876412288ec72c2e81f026fb216fb5ae688 100644
--- a/chrome/browser/ui/browser_instant_controller.h
+++ b/chrome/browser/ui/browser_instant_controller.h
@@ -84,6 +84,9 @@ class BrowserInstantController : public content::NotificationObserver,
// Invoked by |instant_| to update theme information for preview.
void UpdateThemeInfoForPreview();
+ // Invoked by the InstantController when it wants to open a URL.
+ void OpenURLInCurrentTab(const GURL& url);
+
private:
// Sets the value of |instant_| based on value from profile. Invoked
// on pref change.

Powered by Google App Engine
This is Rietveld 408576698