Commit b0639275 authored by Tommy C. Li's avatar Tommy C. Li Committed by Commit Bot

[omnibox] Add Clock Icon for SEARCH_SUGGEST_PERSONALIZED

The Google Search App seems to put the clock icon on these suggestions.
We should too, as we try to be congruent.

This has no effect unless one of the two clock icon flags are on, and
they are both off by default.

Bug: 929477
Change-Id: I69b62e47fcbdc70b738738340e4a134f4a2c4a45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636559Reviewed-by: default avatarJustin Donnelly <jdonnelly@chromium.org>
Commit-Queue: Tommy Li <tommycli@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664807}
parent 8328880b
......@@ -233,7 +233,6 @@ const gfx::VectorIcon& AutocompleteMatch::GetVectorIcon(
case Type::SEARCH_WHAT_YOU_TYPED:
case Type::SEARCH_SUGGEST:
case Type::SEARCH_SUGGEST_ENTITY:
case Type::SEARCH_SUGGEST_PERSONALIZED:
case Type::SEARCH_SUGGEST_PROFILE:
case Type::SEARCH_OTHER_ENGINE:
case Type::CONTACT_DEPRECATED:
......@@ -242,7 +241,8 @@ const gfx::VectorIcon& AutocompleteMatch::GetVectorIcon(
case Type::CLIPBOARD_IMAGE:
return vector_icons::kSearchIcon;
case Type::SEARCH_HISTORY: {
case Type::SEARCH_HISTORY:
case Type::SEARCH_SUGGEST_PERSONALIZED: {
if (base::FeatureList::IsEnabled(
omnibox::kOmniboxSuggestionTransparencyOptions) ||
base::FeatureList::IsEnabled(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment