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

Unified Diff: chrome/browser/autocomplete/autocomplete_match.cc

Issue 10832256: Experimental AutocompleteProvider for zerosuggest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rip out timer. Created 8 years, 4 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: chrome/browser/autocomplete/autocomplete_match.cc
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc
index 5fffc664891031e3b3fe64b2d598399673c58fe6..467f2abc6e3545c426b70a299be81f47ef7b79ae 100644
--- a/chrome/browser/autocomplete/autocomplete_match.cc
+++ b/chrome/browser/autocomplete/autocomplete_match.cc
@@ -131,6 +131,8 @@ std::string AutocompleteMatch::TypeToString(Type type) {
"search-history",
"search-suggest",
"search-other-engine",
+ "search-zerosuggest",
+ "search-zerosuggest-url",
"extension-app",
};
COMPILE_ASSERT(arraysize(strings) == NUM_TYPES,
@@ -151,6 +153,8 @@ int AutocompleteMatch::TypeToIcon(Type type) {
IDR_OMNIBOX_SEARCH,
IDR_OMNIBOX_SEARCH,
IDR_OMNIBOX_SEARCH,
+ IDR_OMNIBOX_SEARCH,
+ IDR_OMNIBOX_HTTP,
IDR_OMNIBOX_EXTENSION_APP,
};
COMPILE_ASSERT(arraysize(icons) == NUM_TYPES,

Powered by Google App Engine
This is Rietveld 408576698