Commit 4385ac72 authored by Roman Aleksandrov's avatar Roman Aleksandrov Committed by Commit Bot

Relaunch Notification: Change notification icon

Change the icon of the relaunch notification. Use enterprise default
icon instead of SystemMenuUpdate icon.


Bug: 963883
Change-Id: I9246156160c9e7ede18298eaa89a2ebb1613e802
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1630468Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Reviewed-by: default avatarEvan Stade <estade@chromium.org>
Commit-Queue: Roman Aleksandrov <raleksandrov@google.com>
Cr-Commit-Position: refs/heads/master@{#663928}
parent 8d639cb7
......@@ -177,7 +177,6 @@ aggregate_vector_icons("ash_vector_icons") {
"system_menu_tablet.icon",
"system_menu_tracing.icon",
"system_menu_timer.icon",
"system_menu_update.icon",
"system_menu_new_user.icon",
"system_menu_night_light_off.icon",
"system_menu_night_light_on.icon",
......
// Copyright 2016 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, 40,
MOVE_TO, 20, 36,
R_CUBIC_TO, 8.84f, 0, 16, -7.16f, 16, -16,
CUBIC_TO_SHORTHAND, 28.84f, 4, 20, 4,
CUBIC_TO_SHORTHAND, 4, 11.16f, 4, 20,
R_CUBIC_TO, 0, 8.84f, 7.16f, 16, 16, 16,
CLOSE,
R_MOVE_TO, -4, -7,
R_H_LINE_TO, 8,
R_V_LINE_TO, -6,
R_H_LINE_TO, 6,
LINE_TO, 20, 11,
LINE_TO, 10, 23,
R_H_LINE_TO, 6,
R_V_LINE_TO, 6,
CLOSE
CANVAS_DIMENSIONS, 20,
MOVE_TO, 10, 18,
R_CUBIC_TO, 4.42f, 0, 8, -3.58f, 8, -8,
R_CUBIC_TO, 0, -4.42f, -3.58f, -8, -8, -8,
R_CUBIC_TO, -4.42f, 0, -8, 3.58f, -8, 8,
R_CUBIC_TO, 0, 4.42f, 3.58f, 8, 8, 8,
CLOSE,
R_MOVE_TO, -2, -4,
R_H_LINE_TO, 4,
R_V_LINE_TO, -3,
R_H_LINE_TO, 3,
R_LINE_TO, -5, -6,
R_LINE_TO, -5, 6,
R_H_LINE_TO, 3,
R_V_LINE_TO, 3,
CLOSE
......@@ -11,6 +11,7 @@
#include "ash/strings/grit/ash_strings.h"
#include "ash/system/model/system_tray_model.h"
#include "base/bind.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/message_center/message_center.h"
#include "ui/message_center/public/cpp/notification.h"
......@@ -62,7 +63,8 @@ void UpdateNotificationController::OnUpdateAvailable() {
base::BindRepeating(
&UpdateNotificationController::HandleNotificationClick,
weak_ptr_factory_.GetWeakPtr())),
model_->rollback() ? kSystemMenuRollbackIcon : kSystemMenuUpdateIcon,
model_->rollback() ? kSystemMenuRollbackIcon
: vector_icons::kBusinessIcon,
warning_level);
notification->set_pinned(true);
......
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