| Index: ash/common/system/tray/wm_system_tray_notifier.cc
|
| diff --git a/ash/common/system/tray/wm_system_tray_notifier.cc b/ash/common/system/tray/wm_system_tray_notifier.cc
|
| index 4e40c5ac563150c635fe56e0e22e3d85935b9c6d..2e18d634c7a26755bb366e0cc068ca6b7ebb3051 100644
|
| --- a/ash/common/system/tray/wm_system_tray_notifier.cc
|
| +++ b/ash/common/system/tray/wm_system_tray_notifier.cc
|
| @@ -79,6 +79,24 @@ void WmSystemTrayNotifier::NotifyRefreshIMEMenu(bool is_active) {
|
| OnIMEMenuActivationChanged(is_active));
|
| }
|
|
|
| +void WmSystemTrayNotifier::AddLocaleObserver(LocaleObserver* observer) {
|
| + locale_observers_.AddObserver(observer);
|
| +}
|
| +
|
| +void WmSystemTrayNotifier::RemoveLocaleObserver(LocaleObserver* observer) {
|
| + locale_observers_.RemoveObserver(observer);
|
| +}
|
| +
|
| +void WmSystemTrayNotifier::NotifyLocaleChanged(
|
| + LocaleObserver::Delegate* delegate,
|
| + const std::string& cur_locale,
|
| + const std::string& from_locale,
|
| + const std::string& to_locale) {
|
| + FOR_EACH_OBSERVER(
|
| + LocaleObserver, locale_observers_,
|
| + OnLocaleChanged(delegate, cur_locale, from_locale, to_locale));
|
| +}
|
| +
|
| void WmSystemTrayNotifier::AddUpdateObserver(UpdateObserver* observer) {
|
| update_observers_.AddObserver(observer);
|
| }
|
|
|