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

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

Issue 2644903004: Move around more vector icons. (Closed)
Patch Set: fix comment Created 3 years, 11 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/omnibox/browser/BUILD.gn ('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..d237d2c52adffe39d7bc783510446e018a9614bb 100644
--- a/components/omnibox/browser/autocomplete_match.h
+++ b/components/omnibox/browser/autocomplete_match.h
@@ -28,7 +28,7 @@ class Time;
} // namespace base
namespace gfx {
-enum class VectorIconId;
+struct VectorIcon;
} // namespace gfx
const char kACMatchPropertyInputText[] = "input text";
@@ -109,7 +109,7 @@ struct AutocompleteMatch {
AutocompleteMatch& operator=(const AutocompleteMatch& match);
// Gets the vector icon identifier for the icon to be shown for |type|.
- static gfx::VectorIconId TypeToVectorIcon(Type type);
+ static const gfx::VectorIcon& TypeToVectorIcon(Type type);
// Comparison function for determining when one match is better than another.
static bool MoreRelevant(const AutocompleteMatch& elem1,
« no previous file with comments | « components/omnibox/browser/BUILD.gn ('k') | components/omnibox/browser/autocomplete_match.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698