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

Unified Diff: ash/common/system/chromeos/palette/palette_tray.cc

Issue 2327943002: Vectorize help icon in Ash system menu for MD (Closed)
Patch Set: Addressed review comments Created 4 years, 3 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
« no previous file with comments | « no previous file | ash/common/system/date/date_default_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/palette/palette_tray.cc
diff --git a/ash/common/system/chromeos/palette/palette_tray.cc b/ash/common/system/chromeos/palette/palette_tray.cc
index 36f6cd9cfd2f9917f0a57df2a70fd9328b7ebe77..48a4c9e42bb41b3b1fad72a37e7ffe531e54ac1d 100644
--- a/ash/common/system/chromeos/palette/palette_tray.cc
+++ b/ash/common/system/chromeos/palette/palette_tray.cc
@@ -18,6 +18,7 @@
#include "ash/common/wm_root_window_controller.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
+#include "ash/resources/vector_icons/vector_icons.h"
#include "base/metrics/histogram_macros.h"
#include "grit/ash_resources.h"
#include "grit/ash_strings.h"
@@ -85,10 +86,11 @@ class TitleView : public views::View, public views::ButtonListener {
AddChildView(text_label);
box_layout->SetFlexForView(text_label, 1);
- gfx::ImageSkia settings_icon = CreateVectorIcon(
- gfx::VectorIconId::SETTINGS, kIconSize, gfx::kChromeIconGrey);
- gfx::ImageSkia help_icon = CreateVectorIcon(
- gfx::VectorIconId::HELP, kIconSize, gfx::kChromeIconGrey);
+ gfx::ImageSkia settings_icon = CreateVectorIcon(gfx::VectorIconId::SETTINGS,
+ kIconSize, kMenuIconColor);
+ gfx::ImageSkia help_icon =
+ CreateVectorIcon(kSystemMenuHelpIcon, kMenuIconColor);
+ DCHECK_EQ(kIconSize, help_icon.width());
help_button_ = new ash::TrayPopupHeaderButton(this, help_icon,
IDS_ASH_STATUS_TRAY_HELP);
« no previous file with comments | « no previous file | ash/common/system/date/date_default_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698