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

Unified Diff: ash/system/tray/tray_image_item.h

Issue 2846883006: cros: Update rotation lock UI (Closed)
Patch Set: cleanup tests Created 3 years, 8 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/system/rotation/tray_rotation_lock_unittest.cc ('k') | ash/system/tray/tray_image_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/tray_image_item.h
diff --git a/ash/system/tray/tray_image_item.h b/ash/system/tray/tray_image_item.h
index 64fdb96c7084a1e8b14bfd8b651e1a61232ac65c..ff4402f5e128f765d4723e5fc2448af5e332fc14 100644
--- a/ash/system/tray/tray_image_item.h
+++ b/ash/system/tray/tray_image_item.h
@@ -41,10 +41,10 @@ class ASH_EXPORT TrayImageItem : public SystemTrayItem {
// Sets the color of the icon to |color|.
void SetIconColor(SkColor color);
- private:
- // Sets the current icon on |tray_view_|'s ImageView.
- void UpdateImageOnImageView();
+ // Sets showing |icon| on |tray_view_|'s ImageView.
+ void SetImageIcon(const gfx::VectorIcon& icon);
+ private:
// The icon and its current color.
const gfx::VectorIcon& icon_;
SkColor icon_color_;
« no previous file with comments | « ash/system/rotation/tray_rotation_lock_unittest.cc ('k') | ash/system/tray/tray_image_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698