Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / components / search_engines / search_terms_data.h
index a2ff8ed..a9a41c5 100644 (file)
@@ -49,6 +49,23 @@ class SearchTermsData {
   // This implementation returns the empty string.
   virtual std::string GetSuggestRequestIdentifier() const;
 
+  // Returns true if the AnswersInSuggest feature should be enabled.
+  virtual bool EnableAnswersInSuggest() const;
+
+  // Returns true if search terms are shown in the omnibox on search results
+  // pages.
+  virtual bool IsShowingSearchTermsOnSearchResultsPages() const;
+
+  // Returns a string indicating whether InstantExtended is enabled.
+  virtual std::string InstantExtendedEnabledParam(bool for_search) const;
+
+  // Returns a string that will cause the search results page to update
+  // 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.