Commit 7d14a988 authored by estade's avatar estade Committed by Commit bot

Change selected keyword search icon to the same icon used for default

omnibox search.

BUG=616191
TEST=looking glass should be the same size when tab to search is activated
as when the omnibox is being used for a default search engine search

Review-Url: https://codereview.chromium.org/2023013003
Cr-Commit-Position: refs/heads/master@{#397036}
parent b26313ef
......@@ -45,7 +45,8 @@ SelectedKeywordView::~SelectedKeywordView() {
void SelectedKeywordView::ResetImage() {
if (ui::MaterialDesignController::IsModeMaterial()) {
SetImage(gfx::CreateVectorIcon(gfx::VectorIconId::KEYWORD_SEARCH,
SetImage(gfx::CreateVectorIcon(gfx::VectorIconId::OMNIBOX_SEARCH,
16,
GetTextColor()));
} else {
SetImage(*GetThemeProvider()->GetImageSkiaNamed(IDR_OMNIBOX_SEARCH));
......
......@@ -451,8 +451,6 @@ action("aggregate_vector_icons") {
"vector_icons/image.icon",
"vector_icons/incognito.1x.icon",
"vector_icons/incognito.icon",
"vector_icons/keyword_search.1x.icon",
"vector_icons/keyword_search.icon",
"vector_icons/laptop.icon",
"vector_icons/location_bar_http.1x.icon",
"vector_icons/location_bar_http.icon",
......
// Copyright 2015 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, 16,
MOVE_TO, 9.29f, 9.03f,
LINE_TO, 9.15f, 8.89f,
CUBIC_TO, 9.65f, 8.31f, 10, 7.5f, 10, 6.5f,
CUBIC_TO, 10, 4.65f, 8.35f, 3, 6.5f, 3,
CUBIC_TO, 4.65f, 3, 3, 4.65f, 3, 6.5f,
CUBIC_TO, 3, 8.35f, 5, 10, 6.58f, 10,
CUBIC_TO, 7.5f, 10, 8.22f, 9.74f, 8.78f, 9.26f,
LINE_TO, 8.93f, 9.4f,
LINE_TO, 8.93f, 9.8f,
LINE_TO, 11.5f, 12.37f,
LINE_TO, 12.27f, 11.61f,
LINE_TO, 9.7f, 9.03f,
LINE_TO, 9.29f, 9.03f,
CLOSE,
MOVE_TO, 6.5f, 9,
CUBIC_TO, 5.12f, 9, 4, 7.88f, 4, 6.5f,
CUBIC_TO, 4, 5.12f, 5.12f, 4, 6.5f, 4,
CUBIC_TO, 7.88f, 4, 9, 5.12f, 9, 6.5f,
CUBIC_TO, 9, 7.88f, 7.88f, 9, 6.5f, 9,
LINE_TO, 6.5f, 9,
CLOSE,
END
// Copyright 2015 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, 19.72f, 18.95f,
LINE_TO, 19.42f, 18.65f,
CUBIC_TO, 20.48f, 17.42f, 21.12f, 15.81f, 21.12f, 14.06f,
CUBIC_TO, 21.12f, 10.16f, 17.96f, 7, 14.06f, 7,
CUBIC_TO, 10.16f, 7, 7, 10.16f, 7, 14.06f,
CUBIC_TO, 7, 17.96f, 10.16f, 21.12f, 14.06f, 21.12f,
CUBIC_TO, 15.82f, 21.12f, 17.42f, 20.48f, 18.65f, 19.42f,
LINE_TO, 18.95f, 19.72f,
LINE_TO, 18.95f, 20.58f,
LINE_TO, 24.38f, 26,
LINE_TO, 26, 24.38f,
LINE_TO, 20.58f, 18.95f,
LINE_TO, 19.72f, 18.95f,
CLOSE,
MOVE_TO, 14, 19,
CUBIC_TO, 11.24f, 19, 9, 16.76f, 9, 14,
CUBIC_TO, 9, 11.24f, 11.24f, 9, 14, 9,
CUBIC_TO, 16.76f, 9, 19, 11.24f, 19, 14,
CUBIC_TO, 19, 16.76f, 16.76f, 19, 14, 19,
LINE_TO, 14, 19,
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