Index: chrome/common/search/search_types.h |
diff --git a/chrome/common/search/search_types.h b/chrome/common/search/search_types.h |
index 4da3ad99276e538ea86fda6128812d13c3021081..9523bcb190de3027ee4f437573bb4593cdb2a486 100644 |
--- a/chrome/common/search/search_types.h |
+++ b/chrome/common/search/search_types.h |
@@ -18,10 +18,6 @@ struct SearchMode { |
// The Omnibox is modified in some way, either on the NTP or not. |
MODE_SEARCH_SUGGESTIONS, |
- |
- // On a search results page. |
- // TODO(treib): Remove this; it's not used anymore. crbug.com/627747 |
- MODE_SEARCH_RESULTS, |
}; |
// The kind of page from which the user initiated the current search. |
@@ -31,10 +27,6 @@ struct SearchMode { |
// The user is searching from the NTP. |
ORIGIN_NTP, |
- |
- // The user is searching from a search results page. |
- // TODO(treib): Remove this; it's not used anymore. crbug.com/627747 |
- ORIGIN_SEARCH, |
}; |
SearchMode() : mode(MODE_DEFAULT), origin(ORIGIN_DEFAULT) { |
@@ -61,14 +53,6 @@ struct SearchMode { |
return mode == MODE_NTP; |
} |
- bool is_search() const { |
- return mode == MODE_SEARCH_SUGGESTIONS || mode == MODE_SEARCH_RESULTS; |
- } |
- |
- bool is_search_results() const { |
- return mode == MODE_SEARCH_RESULTS; |
- } |
- |
bool is_search_suggestions() const { |
return mode == MODE_SEARCH_SUGGESTIONS; |
} |
@@ -77,10 +61,6 @@ struct SearchMode { |
return origin == ORIGIN_DEFAULT; |
} |
- bool is_origin_search() const { |
- return origin == ORIGIN_SEARCH; |
- } |
- |
bool is_origin_ntp() const { |
return origin == ORIGIN_NTP; |
} |