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

Unified Diff: trunk/src/chrome/browser/ui/search/instant_tab.cc

Issue 16124009: Revert 204709 "Move instant support to SearchTabHelper." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 months 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: trunk/src/chrome/browser/ui/search/instant_tab.cc
===================================================================
--- trunk/src/chrome/browser/ui/search/instant_tab.cc (revision 204944)
+++ trunk/src/chrome/browser/ui/search/instant_tab.cc (working copy)
@@ -14,6 +14,8 @@
void InstantTab::Init(content::WebContents* contents) {
SetContents(contents);
+ if (!contents->IsWaitingForResponse())
+ DetermineIfPageSupportsInstant();
}
bool InstantTab::ShouldProcessAboutToNavigateMainFrame() {
« no previous file with comments | « trunk/src/chrome/browser/ui/search/instant_page_unittest.cc ('k') | trunk/src/chrome/browser/ui/search/instant_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698