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

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

Issue 12250033: Consolidate search terms extraction and Instant process determination. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style nit Created 7 years, 10 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: chrome/browser/instant/instant_overlay.cc
diff --git a/chrome/browser/instant/instant_overlay.cc b/chrome/browser/instant/instant_overlay.cc
index ebe1a4a09816b6cf8c1713a2c05f112325e78782..15e1a0dbbb4ea8ee59f3f93f41e5ae4f16d43922 100644
--- a/chrome/browser/instant/instant_overlay.cc
+++ b/chrome/browser/instant/instant_overlay.cc
@@ -6,6 +6,7 @@
#include "base/auto_reset.h"
#include "base/supports_user_data.h"
+#include "chrome/browser/ui/search/search.h"
#include "content/public/browser/web_contents.h"
namespace {
@@ -71,7 +72,7 @@ void InstantOverlay::DidNavigate(
}
bool InstantOverlay::IsUsingLocalPreview() const {
- return instant_url_ == InstantController::kLocalOmniboxPopupURL;
+ return instant_url_ == chrome::search::kLocalOmniboxPopupURL;
}
void InstantOverlay::Update(const string16& text,
« no previous file with comments | « chrome/browser/instant/instant_extended_browsertest.cc ('k') | chrome/browser/instant/instant_service_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698