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

Unified Diff: components/search_engines/search_terms_data.h

Issue 396583002: Stop depending on InstantService from BaseSearchProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: components/search_engines/search_terms_data.h
diff --git a/components/search_engines/search_terms_data.h b/components/search_engines/search_terms_data.h
index 1b70a101955db6d0f435e43fafa45310150458fe..a9a41c595ff2341500b8013688a83f04bc2e1255 100644
--- a/components/search_engines/search_terms_data.h
+++ b/components/search_engines/search_terms_data.h
@@ -63,6 +63,9 @@ class SearchTermsData {
// incrementally.
virtual std::string ForceInstantResultsParam(bool for_prerender) const;
+ // Returns the start-edge margin of the omnibox in pixels.
+ virtual int OmniboxStartMargin() const;
+
// Returns a string indicating whether a non-default theme is active,
// suitable for adding as a query string param to the homepage. This only
// applies if Instant Extended is enabled. Returns an empty string otherwise.
« no previous file with comments | « chrome/browser/search_engines/ui_thread_search_terms_data.cc ('k') | components/search_engines/search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698