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

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: No longer commit on SearchBoxNavigate IPC. 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 d3e654553b22918bb55bde6dfd1710d6fe874a4d..dfcc3ba644570d4ce2ac4867104dc9a9342fb3d5 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -810,6 +810,11 @@ void InstantController::InstantLoaderAboutToNavigateMainFrame(const GURL& url) {
CommitIfPossible(INSTANT_COMMIT_NAVIGATED);
}
+void InstantController::NavigateToURL(const GURL& url) {
samarth 2012/12/12 16:32:27 Let's check for extended_enabled_ here to be safe.
Shishir 2012/12/12 20:04:47 Done.
+ HideLoader();
samarth 2012/12/12 16:32:27 If (loader_)
Shishir 2012/12/12 20:04:47 This can come from the instant_tab also. Also to r
samarth 2012/12/12 22:05:36 When it's coming from InstantTab, there's nothing
Shishir 2012/12/12 22:21:08 Done.
+ 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