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

Unified Diff: chrome/browser/search/search.h

Issue 13905008: Merge local_omnibox_popup into local_ntp. Render the Google logo and fakebox if Google is the sear… (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 8 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/search/search.h
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h
index d51ae743380c66815c27712a319eaf264935e364..877b0bb175bb8db5a071d27d15f22b185a7f27a3 100644
--- a/chrome/browser/search/search.h
+++ b/chrome/browser/search/search.h
@@ -101,6 +101,11 @@ void SetInstantExtendedPrefDefault(Profile* profile);
// lead to an infinite recursion.
GURL GetInstantURL(Profile* profile, int start_margin);
+// Returns the Local Instant URL of the default search engine. In particular,
+// a Google search provider will include a special query parameter, indicating
+// to the JS that Google-specific New Tab Page elements should be rendered.
+GURL GetLocalInstantURL(Profile* profile);
+
// Instant (loading a remote server page and talking to it using the searchbox
// API) is considered enabled if there's a valid Instant URL that can be used,
// so this simply returns whether GetInstantURL() is a valid URL.

Powered by Google App Engine
This is Rietveld 408576698