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

Unified Diff: ash/common/system/tray/tray_popup_header_button.h

Issue 2264383002: More closely align palette to spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tool-magnifier
Patch Set: Add fs to icon numbers Created 4 years, 4 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 | « ash/common/system/tray/hover_highlight_view.cc ('k') | ash/common/system/tray/tray_popup_header_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/tray_popup_header_button.h
diff --git a/ash/common/system/tray/tray_popup_header_button.h b/ash/common/system/tray/tray_popup_header_button.h
index 1777d4528ff81dff16fccb23edbe7148882eea53..a94e4d3708fa7f9586505db56048125d25ea165f 100644
--- a/ash/common/system/tray/tray_popup_header_button.h
+++ b/ash/common/system/tray/tray_popup_header_button.h
@@ -18,7 +18,7 @@ class ASH_EXPORT TrayPopupHeaderButton : public views::ToggleImageButton {
static const char kViewClassName[];
TrayPopupHeaderButton(views::ButtonListener* listener,
- int icon_resource_id,
+ const gfx::ImageSkia& icon,
int accessible_name_id);
TrayPopupHeaderButton(views::ButtonListener* listener,
int enabled_resource_id,
@@ -36,6 +36,8 @@ class ASH_EXPORT TrayPopupHeaderButton : public views::ToggleImageButton {
// Overridden from views::CustomButton:
void StateChanged() override;
+ void Initialize(const gfx::ImageSkia& icon, int accessible_name_id);
+
DISALLOW_COPY_AND_ASSIGN(TrayPopupHeaderButton);
};
« no previous file with comments | « ash/common/system/tray/hover_highlight_view.cc ('k') | ash/common/system/tray/tray_popup_header_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698