summaryrefslogtreecommitdiffstats
path: root/ash/system/tray/system_tray_notifier.cc
diff options
context:
space:
mode:
authorazurewei <azurewei@chromium.org>2016-03-16 02:00:23 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-16 09:01:56 +0000
commit048e27baed82c694a44889c1c3c8693d3f830293 (patch)
tree2340f827fe41619f3fd4457e35fced31ba076b76 /ash/system/tray/system_tray_notifier.cc
parenta0c8fd907f48ef36195b20cf02e4da9483fdc543 (diff)
downloadchromium_src-048e27baed82c694a44889c1c3c8693d3f830293.zip
chromium_src-048e27baed82c694a44889c1c3c8693d3f830293.tar.gz
chromium_src-048e27baed82c694a44889c1c3c8693d3f830293.tar.bz2
Remove the IME items in the status tray when the IME menu is activated.
BUG=570761 TEST=None Review URL: https://codereview.chromium.org/1765383003 Cr-Commit-Position: refs/heads/master@{#381422}
Diffstat (limited to 'ash/system/tray/system_tray_notifier.cc')
-rw-r--r--ash/system/tray/system_tray_notifier.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/system/tray/system_tray_notifier.cc b/ash/system/tray/system_tray_notifier.cc
index ec5bd8d..9432bf8 100644
--- a/ash/system/tray/system_tray_notifier.cc
+++ b/ash/system/tray/system_tray_notifier.cc
@@ -275,6 +275,12 @@ void SystemTrayNotifier::NotifyRefreshIME() {
OnIMERefresh());
}
+void SystemTrayNotifier::NotifyRefreshIMEMenu(bool is_active) {
+ FOR_EACH_OBSERVER(IMEObserver,
+ ime_observers_,
+ OnIMEMenuActivationChanged(is_active));
+}
+
void SystemTrayNotifier::NotifyLocaleChanged(
LocaleObserver::Delegate* delegate,
const std::string& cur_locale,