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

Unified Diff: components/omnibox/browser/autocomplete_input.h

Issue 1855423003: Interpret '?' and Ctrl-K or Ctrl-E as putting omnibox in keyword search mode for Default Search Pro… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add includes for mac tests Created 4 years, 6 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
« no previous file with comments | « components/metrics/proto/omnibox_input_type.proto ('k') | components/omnibox/browser/autocomplete_input.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/autocomplete_input.h
diff --git a/components/omnibox/browser/autocomplete_input.h b/components/omnibox/browser/autocomplete_input.h
index 1c047065d40e5992fdb660825e5c590e97ae5963..d6281f86c6d0d12b6770debd44622600503a5001 100644
--- a/components/omnibox/browser/autocomplete_input.h
+++ b/components/omnibox/browser/autocomplete_input.h
@@ -83,12 +83,6 @@ class AutocompleteInput {
AutocompleteInput(const AutocompleteInput& other);
~AutocompleteInput();
- // If type is |FORCED_QUERY| and |text| starts with '?', it is removed.
- // Returns number of leading characters removed.
- static size_t RemoveForcedQueryStringIfNecessary(
- metrics::OmniboxInputType::Type type,
- base::string16* text);
-
// Converts |type| to a string representation. Used in logging.
static std::string TypeToString(metrics::OmniboxInputType::Type type);
« no previous file with comments | « components/metrics/proto/omnibox_input_type.proto ('k') | components/omnibox/browser/autocomplete_input.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698