| Index: ash/common/system/tray/wm_system_tray_notifier.h
|
| diff --git a/ash/common/system/tray/wm_system_tray_notifier.h b/ash/common/system/tray/wm_system_tray_notifier.h
|
| index 95b5527ff929fd3665e495a72df34927558735a9..e13c25547e64473d6467efba3fdaa7b77f66699c 100644
|
| --- a/ash/common/system/tray/wm_system_tray_notifier.h
|
| +++ b/ash/common/system/tray/wm_system_tray_notifier.h
|
| @@ -6,11 +6,13 @@
|
| #define ASH_COMMON_SYSTEM_TRAY_WM_SYSTEM_TRAY_NOTIFIER_H_
|
|
|
| #include "ash/ash_export.h"
|
| +#include "ash/common/accessibility_types.h"
|
| #include "base/macros.h"
|
| #include "base/observer_list.h"
|
|
|
| namespace ash {
|
|
|
| +class AccessibilityObserver;
|
| class ClockObserver;
|
| struct UpdateInfo;
|
| class UpdateObserver;
|
| @@ -25,12 +27,18 @@ class ASH_EXPORT WmSystemTrayNotifier {
|
| WmSystemTrayNotifier();
|
| ~WmSystemTrayNotifier();
|
|
|
| + void AddAccessibilityObserver(AccessibilityObserver* observer);
|
| + void RemoveAccessibilityObserver(AccessibilityObserver* observer);
|
| +
|
| void AddClockObserver(ClockObserver* observer);
|
| void RemoveClockObserver(ClockObserver* observer);
|
|
|
| void AddUpdateObserver(UpdateObserver* observer);
|
| void RemoveUpdateObserver(UpdateObserver* observer);
|
|
|
| + void NotifyAccessibilityModeChanged(
|
| + ui::AccessibilityNotificationVisibility notify);
|
| +
|
| void NotifyRefreshClock();
|
| void NotifyDateFormatChanged();
|
| void NotifySystemClockTimeUpdated();
|
| @@ -39,6 +47,7 @@ class ASH_EXPORT WmSystemTrayNotifier {
|
| void NotifyUpdateRecommended(const UpdateInfo& info);
|
|
|
| private:
|
| + base::ObserverList<AccessibilityObserver> accessibility_observers_;
|
| base::ObserverList<ClockObserver> clock_observers_;
|
| base::ObserverList<UpdateObserver> update_observers_;
|
|
|
|
|