Commit 78c04f13 authored by Tommy Steimel's avatar Tommy Steimel Committed by Commit Bot

GMC: Update queue_music icon

For some reason, the previous queue_music icon was a bit off. This CL
uses a new icon from the UX team.

Bug: 1013639
Change-Id: Ic8b14816d3589b25e1e9292ca3f1d0e9f249c3ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1860321
Commit-Queue: Tommy Steimel <steimel@chromium.org>
Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#709729}
parent 81487c55
......@@ -67,6 +67,8 @@ aggregate_vector_icons("chrome_vector_icons") {
"key.icon",
"laptop.icon",
"launch.icon",
"media_toolbar_button.icon",
"media_toolbar_button_touch.icon",
"mixed_content.icon",
"my_location.icon",
"navigate_home.icon",
......
// Copyright 2019 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, 15.25f, 2,
R_CUBIC_TO, 0.41f, 0, 0.75f, 0.34f, 0.75f, 0.75f,
R_CUBIC_TO, 0, 0.41f, -0.34f, 0.75f, -0.75f, 0.75f,
H_LINE_TO, 13.5f,
R_LINE_TO, 0, 7.98f,
CUBIC_TO, 13.47f, 12.99f, 12.38f, 14, 11, 14,
R_CUBIC_TO, -1.38f, 0, -2.5f, -1.12f, -2.5f, -2.5f,
CUBIC_TO, 8.5f, 10.12f, 9.62f, 9, 11, 9,
R_CUBIC_TO, 0.36f, 0, 0.69f, 0.07f, 1, 0.21f,
LINE_TO, 12, 2.75f,
R_CUBIC_TO, 0, -0.41f, 0.34f, -0.75f, 0.75f, -0.75f,
R_H_LINE_TO, 2.5f,
CLOSE,
MOVE_TO, 6.89f, 10,
CUBIC_TO, 6.64f, 10.45f, 6.5f, 10.96f, 6.5f, 11.5f,
H_LINE_TO, 0.75f,
CUBIC_TO, 0.34f, 11.5f, 0, 11.16f, 0, 10.75f,
CUBIC_TO_SHORTHAND, 0.34f, 10, 0.75f, 10,
R_LINE_TO, 6.14f, 0,
CLOSE,
MOVE_TO, 9.25f, 6,
R_CUBIC_TO, 0.41f, 0, 0.75f, 0.34f, 0.75f, 0.75f,
R_CUBIC_TO, 0, 0.41f, -0.34f, 0.75f, -0.75f, 0.75f,
H_LINE_TO, 0.75f,
CUBIC_TO, 0.34f, 7.5f, 0, 7.16f, 0, 6.75f,
CUBIC_TO_SHORTHAND, 0.34f, 6, 0.75f, 6,
R_H_LINE_TO, 8.5f,
CLOSE,
R_MOVE_TO, 0, -4,
R_CUBIC_TO, 0.41f, 0, 0.75f, 0.34f, 0.75f, 0.75f,
R_CUBIC_TO, 0, 0.41f, -0.34f, 0.75f, -0.75f, 0.75f,
H_LINE_TO, 0.75f,
CUBIC_TO, 0.34f, 3.5f, 0, 3.16f, 0, 2.75f,
CUBIC_TO_SHORTHAND, 0.34f, 2, 0.75f, 2,
R_H_LINE_TO, 8.5f,
CLOSE
// Copyright 2019 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, 24,
MOVE_TO, 23, 3,
R_ARC_TO, 1, 1, 0, 0, 1, 0, 2,
R_H_LINE_TO, -3,
LINE_TO, 20, 17,
R_CUBIC_TO, -0.04f, 2.27f, -1.43f, 4, -3.5f, 4,
R_ARC_TO, 3.75f, 3.75f, 0, 1, 1, 1.5f, -7.19f,
LINE_TO, 18, 4.13f,
R_LINE_TO, 0, -0.07f,
ARC_TO, 1, 1, 0, 0, 1, 19, 3,
R_H_LINE_TO, 4,
CLOSE,
MOVE_TO, 10.33f, 15,
R_ARC_TO, 4.71f, 4.71f, 0, 0, 0, -0.57f, 2,
H_LINE_TO, 1,
R_ARC_TO, 1, 1, 0, 0, 1, 0, -2,
R_H_LINE_TO, 9.33f,
CLOSE,
MOVE_TO, 14, 9,
R_ARC_TO, 1, 1, 0, 0, 1, 0, 2,
H_LINE_TO, 1,
R_ARC_TO, 1, 1, 0, 1, 1, 0, -2,
R_H_LINE_TO, 13,
CLOSE,
R_MOVE_TO, 0, -6,
R_ARC_TO, 1, 1, 0, 0, 1, 0, 2,
H_LINE_TO, 1,
R_ARC_TO, 1, 1, 0, 1, 1, 0, -2,
R_H_LINE_TO, 13,
CLOSE
......@@ -5,6 +5,7 @@
#include "chrome/browser/ui/views/global_media_controls/media_toolbar_button_view.h"
#include "build/build_config.h"
#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/themes/theme_properties.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/global_media_controls/media_toolbar_button_controller.h"
......@@ -13,8 +14,8 @@
#include "chrome/browser/ui/views/feature_promos/global_media_controls_promo_controller.h"
#include "chrome/browser/ui/views/global_media_controls/media_dialog_view.h"
#include "chrome/grit/generated_resources.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/material_design/material_design_controller.h"
#include "ui/base/theme_provider.h"
#include "ui/gfx/paint_vector_icon.h"
#include "ui/native_theme/native_theme.h"
......@@ -136,7 +137,9 @@ void MediaToolbarButtonView::UpdateIcon() {
if (!GetWidget())
return;
const gfx::VectorIcon& icon = ::vector_icons::kQueueMusicIcon;
const gfx::VectorIcon& icon = ui::MaterialDesignController::touch_ui()
? kMediaToolbarButtonTouchIcon
: kMediaToolbarButtonIcon;
const SkColor normal_color =
GetThemeProvider()->GetColor(ThemeProperties::COLOR_TOOLBAR_BUTTON_ICON);
......
......@@ -50,7 +50,6 @@ aggregate_vector_icons("components_vector_icons") {
"pause.icon",
"play_arrow.icon",
"protocol_handler.icon",
"queue_music.icon",
"reload.icon",
"replay.icon",
"screen_share.icon",
......
// Copyright 2019 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, 10, 4,
H_LINE_TO, 2,
R_V_LINE_TO, 1.33f,
R_H_LINE_TO, 8,
CLOSE,
R_MOVE_TO, 0, 2.67f,
H_LINE_TO, 2,
V_LINE_TO, 8,
R_H_LINE_TO, 8,
CLOSE,
R_MOVE_TO, -8, 4,
R_H_LINE_TO, 5.33f,
V_LINE_TO, 9.33f,
H_LINE_TO, 2,
CLOSE,
MOVE_TO, 11.33f, 4,
R_V_LINE_TO, 5.45f,
R_ARC_TO, 1.98f, 1.98f, 0, 0, 0, -0.66f, -0.12f,
R_CUBIC_TO, -1.11f, 0, -2, 0.9f, -2, 2,
R_CUBIC_TO, 0, 1.11f, 0.89f, 2, 2, 2,
R_CUBIC_TO, 1.11f, 0, 2, -0.89f, 2, -2,
R_V_LINE_TO, -6,
R_H_LINE_TO, 2,
V_LINE_TO, 4,
CLOSE,
R_MOVE_TO, 0, 0,
CLOSE
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