Commit 98e533d3 authored by Kevin Bailey's avatar Kevin Bailey Committed by Commit Bot

[omnibox] Add an icon for tab switch suggestions

Add a new icon for tab switch suggestions, to visually distinguish them
from suggestions which navigate.

Bug: 780835
Change-Id: I6aac9379808da0d7217d9fe84350c48c25104ff6
Reviewed-on: https://chromium-review.googlesource.com/766447Reviewed-by: default avatarJustin Donnelly <jdonnelly@chromium.org>
Commit-Queue: Kevin Bailey <krb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#516011}
parent 817aa173
...@@ -30,6 +30,7 @@ aggregate_vector_icons("omnibox_vector_icons") { ...@@ -30,6 +30,7 @@ aggregate_vector_icons("omnibox_vector_icons") {
"keyword_search.icon", "keyword_search.icon",
"star.1x.icon", "star.1x.icon",
"star.icon", "star.icon",
"tab.icon",
] ]
} }
......
...@@ -199,9 +199,11 @@ const gfx::VectorIcon& AutocompleteMatch::TypeToVectorIcon(Type type) { ...@@ -199,9 +199,11 @@ const gfx::VectorIcon& AutocompleteMatch::TypeToVectorIcon(Type type) {
case Type::CLIPBOARD: case Type::CLIPBOARD:
case Type::PHYSICAL_WEB: case Type::PHYSICAL_WEB:
case Type::PHYSICAL_WEB_OVERFLOW: case Type::PHYSICAL_WEB_OVERFLOW:
case Type::TAB_SEARCH:
return omnibox::kHttpIcon; return omnibox::kHttpIcon;
case Type::TAB_SEARCH:
return omnibox::kTabIcon;
case Type::SEARCH_WHAT_YOU_TYPED: case Type::SEARCH_WHAT_YOU_TYPED:
case Type::SEARCH_HISTORY: case Type::SEARCH_HISTORY:
case Type::SEARCH_SUGGEST: case Type::SEARCH_SUGGEST:
......
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
CANVAS_DIMENSIONS, 32,
MOVE_TO, 2, 22,
LINE_TO, 6, 8,
LINE_TO, 24, 8,
LINE_TO, 28, 22,
LINE_TO, 24, 22,
LINE_TO, 22, 12,
LINE_TO, 8, 12,
LINE_TO, 6, 22,
LINE_TO, 2, 22,
CLOSE,
END
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