Commit 7af450c1 authored by Tetsui Ohkubo's avatar Tetsui Ohkubo Committed by Commit Bot

Use keyboard icon for deprecated shortcut notification.

Deprecated Shortcut notification was using cogwheel icon.
This CL changes the notification to use more specific keyboard icon.

TEST=manual (Press Shift-Esc)
BUG=792589

Change-Id: I62ed098ade7f3fd3d03bd140553190fed5293bb4
Reviewed-on: https://chromium-review.googlesource.com/818866
Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#523672}
parent b0b51750
......@@ -179,7 +179,7 @@ void ShowDeprecatedAcceleratorNotification(const char* const notification_id,
system_notifier::kNotifierDeprecatedAccelerator),
message_center::RichNotificationData(),
new DeprecatedAcceleratorNotificationDelegate,
kNotificationSettingsIcon, SystemNotificationWarningLevel::NORMAL);
kNotificationKeyboardIcon, SystemNotificationWarningLevel::NORMAL);
notification->set_clickable(true);
message_center::MessageCenter::Get()->AddNotification(
std::move(notification));
......
......@@ -89,6 +89,7 @@ aggregate_vector_icons("ash_vector_icons") {
"notification_display_error.icon",
"notification_feedback_button.1x.icon",
"notification_feedback_button.icon",
"notification_keyboard.icon",
"notification_low_power_battery.icon",
"notification_monitor_warning.icon",
"notification_screen.icon",
......
// 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, 96,
MOVE_TO, 80, 20,
H_LINE_TO, 16,
R_CUBIC_TO, -4.4f, 0, -7.96f, 3.6f, -7.96f, 8,
LINE_TO, 8, 68,
R_CUBIC_TO, 0, 4.4f, 3.6f, 8, 8, 8,
R_H_LINE_TO, 64,
R_CUBIC_TO, 4.4f, 0, 8, -3.6f, 8, -8,
V_LINE_TO, 28,
R_CUBIC_TO, 0, -4.4f, -3.6f, -8, -8, -8,
CLOSE,
MOVE_TO, 44, 32,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
CLOSE,
R_MOVE_TO, 0, 12,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
CLOSE,
MOVE_TO, 32, 32,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
CLOSE,
R_MOVE_TO, 0, 12,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
CLOSE,
R_MOVE_TO, -4, 8,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
CLOSE,
R_MOVE_TO, 0, -12,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
CLOSE,
R_MOVE_TO, 36, 28,
H_LINE_TO, 32,
R_V_LINE_TO, -8,
R_H_LINE_TO, 32,
R_V_LINE_TO, 8,
CLOSE,
R_MOVE_TO, 0, -16,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
CLOSE,
R_MOVE_TO, 0, -12,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
CLOSE,
R_MOVE_TO, 12, 12,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
CLOSE,
R_MOVE_TO, 0, -12,
R_H_LINE_TO, -8,
R_V_LINE_TO, -8,
R_H_LINE_TO, 8,
R_V_LINE_TO, 8,
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