Chromium Code Reviews| 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 7060d4725e86f32161ccb08b1e811a025943375e..f6d8c7b52791653da9829e7e37dead400afe9c64 100644 |
| --- a/ash/common/system/tray/wm_system_tray_notifier.h |
| +++ b/ash/common/system/tray/wm_system_tray_notifier.h |
| @@ -7,6 +7,7 @@ |
| #include "ash/ash_export.h" |
| #include "ash/common/accessibility_types.h" |
| +#include "ash/common/system/locale/locale_observer.h" |
| #include "base/macros.h" |
| #include "base/observer_list.h" |
| @@ -52,6 +53,14 @@ class ASH_EXPORT WmSystemTrayNotifier { |
| void NotifyRefreshIME(); |
| void NotifyRefreshIMEMenu(bool is_active); |
| + // Locale. |
| + void AddLocaleObserver(LocaleObserver* observer); |
| + void RemoveLocaleObserver(LocaleObserver* observer); |
| + void NotifyLocaleChanged(LocaleObserver::Delegate* delegate, |
| + const std::string& cur_locale, |
| + const std::string& from_locale, |
| + const std::string& to_locale); |
| + |
| // OS updates. |
| void AddUpdateObserver(UpdateObserver* observer); |
| void RemoveUpdateObserver(UpdateObserver* observer); |
| @@ -66,8 +75,9 @@ class ASH_EXPORT WmSystemTrayNotifier { |
| private: |
| base::ObserverList<AccessibilityObserver> accessibility_observers_; |
| - base::ObserverList<IMEObserver> ime_observers_; |
| base::ObserverList<ClockObserver> clock_observers_; |
|
James Cook
2016/06/22 02:53:29
thanks for fixing this ordering
|
| + base::ObserverList<IMEObserver> ime_observers_; |
| + base::ObserverList<LocaleObserver> locale_observers_; |
| base::ObserverList<UpdateObserver> update_observers_; |
| #if defined(OS_CHROMEOS) |