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

Unified Diff: chrome/browser/instant/instant_controller.cc

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.cc
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
index be835bb3703cd3a495288b0474c4388424f5e257..d30decc3f2a2b539c8789096ef378303b05e29e3 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -792,6 +792,11 @@ void InstantController::InstantLoaderRenderViewGone() {
CreateDefaultLoader();
}
+void InstantController::NavigateToURL(const GURL& url) {
+ CommitIfPossible(INSTANT_COMMIT_REQUESTED_NAVIGATION);
samarth 2012/12/11 04:42:10 Do we want to commit here? If a URL suggestion wa
Shishir 2012/12/11 20:22:39 Like we discussed, we will keep the committing log
+ browser_->OpenURLInCurrentTab(url);
+}
+
bool InstantController::ResetLoader(const TemplateURL* template_url,
const content::WebContents* active_tab) {
std::string instant_url;

Powered by Google App Engine
This is Rietveld 408576698