Chromium Code Reviews| Index: ash/common/system/tray/system_tray.h |
| diff --git a/ash/common/system/tray/system_tray.h b/ash/common/system/tray/system_tray.h |
| index 9029cb16f70f1bdc8e728bd069cfb97fd7b382cf..b4284a2c70aa02bfde89ad7dfdff19d767febf72 100644 |
| --- a/ash/common/system/tray/system_tray.h |
| +++ b/ash/common/system/tray/system_tray.h |
| @@ -74,8 +74,9 @@ class ASH_EXPORT SystemTray : public TrayBackgroundView, |
| // seconds. |
| void SetDetailedViewCloseDelay(int close_delay); |
| - // Hides the detailed view for |item|. |
| - void HideDetailedView(SystemTrayItem* item); |
| + // Hides the detailed view for |item|. If |hide_animation| is false, disable |
| + // the hiding animation for hiding |item|. |
| + void HideDetailedView(SystemTrayItem* item, bool hide_animation); |
|
Daniel Erat
2016/07/28 22:20:40
|hide_animation| is a confusing name, since it cou
Qiang(Joe) Xu
2016/07/28 23:15:57
Done.
|
| // Shows the notification view for |item|. |
| void ShowNotificationView(SystemTrayItem* item); |