Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: chrome/browser/chromeos/eol_notification.cc

Issue 2733823003: Move final vector icons out of ui/gfx/vector_icons/ and remove the (Closed)
Patch Set: fix deps Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/eol_notification.cc
diff --git a/chrome/browser/chromeos/eol_notification.cc b/chrome/browser/chromeos/eol_notification.cc
index c9da0b449e35fb98ed15ab0f0fc6bb537018751c..78a0efd8054aa684e8517f6cd10571554eb01f69 100644
--- a/chrome/browser/chromeos/eol_notification.cc
+++ b/chrome/browser/chromeos/eol_notification.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/chromeos/eol_notification.h"
+#include "chrome/app/vector_icons/vector_icons.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/notifications/notification.h"
#include "chrome/browser/notifications/notification_ui_manager.h"
@@ -18,7 +19,7 @@
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/paint_vector_icon.h"
-#include "ui/gfx/vector_icons_public.h"
+#include "ui/vector_icons/vector_icons.h"
using message_center::MessageCenter;
@@ -139,12 +140,12 @@ void EolNotification::OnEolStatus(update_engine::EndOfLifeStatus status) {
void EolNotification::Update() {
message_center::ButtonInfo learn_more(
l10n_util::GetStringUTF16(IDS_EOL_MORE_INFO_BUTTON));
- learn_more.icon = gfx::Image(
- CreateVectorIcon(gfx::VectorIconId::INFO_OUTLINE, kButtonIconColor));
+ learn_more.icon =
+ gfx::Image(CreateVectorIcon(ui::kInfoOutlineIcon, kButtonIconColor));
message_center::ButtonInfo dismiss(
l10n_util::GetStringUTF16(IDS_EOL_DISMISS_BUTTON));
- dismiss.icon = gfx::Image(
- CreateVectorIcon(gfx::VectorIconId::NOTIFICATIONS_OFF, kButtonIconColor));
+ dismiss.icon =
+ gfx::Image(CreateVectorIcon(ui::kNotificationsOffIcon, kButtonIconColor));
message_center::RichNotificationData data;
data.buttons.push_back(learn_more);
@@ -154,8 +155,7 @@ void EolNotification::Update() {
message_center::NOTIFICATION_TYPE_SIMPLE,
l10n_util::GetStringUTF16(IDS_EOL_NOTIFICATION_TITLE),
l10n_util::GetStringUTF16(IDS_EOL_NOTIFICATION_EOL),
- gfx::Image(
- CreateVectorIcon(gfx::VectorIconId::EOL, kNotificationIconColor)),
+ gfx::Image(CreateVectorIcon(kEolIcon, kNotificationIconColor)),
message_center::NotifierId(message_center::NotifierId::SYSTEM_COMPONENT,
kEolNotificationId),
base::string16(), // display_source
« no previous file with comments | « chrome/app/vector_icons/google_search_mac_touchbar.icon ('k') | chrome/browser/chromeos/options/network_config_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698