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

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

Issue 2399333002: Revert of Delete pre-MD code from OmniboxResultView (Closed)
Patch Set: Created 4 years, 2 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/neterror/resources/neterror.css ('k') | components/omnibox/browser/autocomplete_match.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/autocomplete_match.h
diff --git a/components/omnibox/browser/autocomplete_match.h b/components/omnibox/browser/autocomplete_match.h
index c78323e2daf9625d7529760f3f61621e1b0b6dba..3333ce973d7d3934f528e4145462ea18fb002b5d 100644
--- a/components/omnibox/browser/autocomplete_match.h
+++ b/components/omnibox/browser/autocomplete_match.h
@@ -108,6 +108,10 @@
// Converts |type| to a string representation. Used in logging and debugging.
AutocompleteMatch& operator=(const AutocompleteMatch& match);
+ // Converts |type| to a resource identifier for the appropriate icon for this
+ // type to show in the completion popup.
+ static int TypeToIcon(Type type);
+
// Gets the vector icon identifier for the icon to be shown for |type|.
static gfx::VectorIconId TypeToVectorIcon(Type type);
« no previous file with comments | « components/neterror/resources/neterror.css ('k') | components/omnibox/browser/autocomplete_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698