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

Unified Diff: chrome/browser/instant/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/instant/instant_controller.h
diff --git a/chrome/browser/instant/instant_controller.h b/chrome/browser/instant/instant_controller.h
index 30821de4f88ff99fc40f90faac6eea4ebe849b00..d94a881d2f47235229933cce6ab6bd1c03d43f10 100644
--- a/chrome/browser/instant/instant_controller.h
+++ b/chrome/browser/instant/instant_controller.h
@@ -145,6 +145,10 @@ class InstantController {
// Invoked by the InstantLoader when its RenderView crashes.
void InstantLoaderRenderViewGone();
+ // Invoked by the InstantLoader when the instant page wants to commit and
+ // navigate to the speicfied URL.
+ void NavigateToURL(const GURL& url);
+
private:
FRIEND_TEST_ALL_PREFIXES(InstantTest, OmniboxFocusLoadsInstant);
FRIEND_TEST_ALL_PREFIXES(InstantTest, NonInstantSearchProvider);

Powered by Google App Engine
This is Rietveld 408576698