| Index: ash/system/tray/system_tray.h
|
| diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
|
| index f6cf1cae7e8c6bf79e7f5a74b942e3f1fd7df55b..d79fc9322e4113879bfb46fdb1b86ef55ede58e6 100644
|
| --- a/ash/system/tray/system_tray.h
|
| +++ b/ash/system/tray/system_tray.h
|
| @@ -96,6 +96,12 @@ class ASH_EXPORT SystemTray : public internal::TrayBackgroundView {
|
| // Updates the items when the shelf alignment changes.
|
| void UpdateAfterShelfAlignmentChange(ShelfAlignment alignment);
|
|
|
| + // Temporarily hides/unhides the notification bubble.
|
| + void SetHideNotifications(bool hidden);
|
| +
|
| + // Returns true if the primary bubble is visible.
|
| + bool IsBubbleVisible() const;
|
| +
|
| // Returns true if the launcher should show.
|
| bool should_show_launcher() const {
|
| return bubble_.get() && should_show_launcher_;
|
| @@ -241,6 +247,10 @@ class ASH_EXPORT SystemTray : public internal::TrayBackgroundView {
|
| // views directly (e.g. from a notification) we know what height to use.
|
| int default_bubble_height_;
|
|
|
| + // Set to true when system notifications should be hidden (e.g. web
|
| + // notification bubble is visible).
|
| + bool hide_notifications_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SystemTray);
|
| };
|
|
|
|
|