| Index: ash/common/system/tray/tray_item_view.h
|
| diff --git a/ash/common/system/tray/tray_item_view.h b/ash/common/system/tray/tray_item_view.h
|
| index a590a8cebb4b53e440a7a52cbe93888a24ef9e0b..c56a0730ceba8013fbf0c86661bb2391dc76f5ba 100644
|
| --- a/ash/common/system/tray/tray_item_view.h
|
| +++ b/ash/common/system/tray/tray_item_view.h
|
| @@ -36,6 +36,7 @@ class ASH_EXPORT TrayItemView : public views::View,
|
| static void DisableAnimationsForTest();
|
|
|
| // Convenience function for creating a child Label or ImageView.
|
| + // Only one of the two should be called.
|
| void CreateLabel();
|
| void CreateImageView();
|
|
|
| @@ -67,6 +68,7 @@ class ASH_EXPORT TrayItemView : public views::View,
|
|
|
| SystemTrayItem* owner_;
|
| std::unique_ptr<gfx::SlideAnimation> animation_;
|
| + // Only one of |label_| and |image_view_| should be non-null.
|
| views::Label* label_;
|
| views::ImageView* image_view_;
|
|
|
|
|