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

Unified Diff: chrome/browser/instant/instant_tab.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_tab.cc
diff --git a/chrome/browser/instant/instant_tab.cc b/chrome/browser/instant/instant_tab.cc
index 302dba923d868508f2bd59f430376453ee571a2b..edc877e04a754cd0624e77594ebf25b3d1bbde98 100644
--- a/chrome/browser/instant/instant_tab.cc
+++ b/chrome/browser/instant/instant_tab.cc
@@ -83,3 +83,7 @@ void InstantTab::StopCapturingKeyStrokes() {
void InstantTab::RenderViewGone() {
// For a commit page, a crash should not be handled differently.
}
+
+void InstantTab::NavigateToURL(const GURL& url) {
+ // We don't honor this call from committed tabs.
samarth 2012/12/11 04:42:10 Sorry, I missed this before but we do need this fo
Shishir 2012/12/11 20:22:39 Thanks for pointing this out. Fixed.
+}

Powered by Google App Engine
This is Rietveld 408576698