Index: chrome/browser/search/search.h |
diff --git a/chrome/browser/search/search.h b/chrome/browser/search/search.h |
index a106f20c6d7456df22225cc478de8e757e024e31..1605f6db270a651198a2f28a649769ee596a36a8 100644 |
--- a/chrome/browser/search/search.h |
+++ b/chrome/browser/search/search.h |
@@ -47,14 +47,6 @@ enum OptInState { |
INSTANT_EXTENDED_OPT_IN_STATE_ENUM_COUNT, |
}; |
-enum DisplaySearchButtonConditions { |
- DISPLAY_SEARCH_BUTTON_NEVER, |
- DISPLAY_SEARCH_BUTTON_FOR_STR, // STR = Search Term Replacement |
- DISPLAY_SEARCH_BUTTON_FOR_STR_OR_IIP, // IIP = Input In Progress |
- DISPLAY_SEARCH_BUTTON_ALWAYS, |
- DISPLAY_SEARCH_BUTTON_NUM_VALUES, |
-}; |
- |
// Use this value for "start margin" to prevent the "es_sm" parameter from |
// being used. |
extern const int kDisableStartMargin; |
@@ -178,12 +170,6 @@ bool ShouldReuseInstantSearchBasePage(); |
// TODO(kmadhusu): Remove this function and update the call sites. |
GURL GetLocalInstantURL(Profile* profile); |
-// Returns when we should show a search button in the omnibox. This may be any |
-// of several values, some of which depend on whether the underlying state of |
-// the page would normally be to perform search term replacement; see also |
-// ToolbarModel::WouldPerformSearchTermReplacement(). |
-DisplaySearchButtonConditions GetDisplaySearchButtonConditions(); |
- |
// Returns true if the local new tab page should show a Google logo and search |
// box for users whose default search provider is Google, or false if not. |
bool ShouldShowGoogleLocalNTP(); |