summaryrefslogtreecommitdiffstats
path: root/ash/system/ime/ime_observer.h
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/ime/ime_observer.h
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/ime/ime_observer.h')
-rw-r--r--ash/system/ime/ime_observer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/system/ime/ime_observer.h b/ash/system/ime/ime_observer.h
index a7f938c..1707062 100644
--- a/ash/system/ime/ime_observer.h
+++ b/ash/system/ime/ime_observer.h
@@ -14,6 +14,12 @@ class IMEObserver {
// Notify the observer that the IME state has changed, and should be
// refreshed.
virtual void OnIMERefresh() = 0;
+
+ // Notify the observer that the IME menu activation state has changed, and
+ // should be refreshed. |is_active| represents whether the new IME menu is
+ // active, and IME related items in system tray should be removed if
+ // |is_active| is true.
+ virtual void OnIMEMenuActivationChanged(bool is_active) = 0;
};
} // namespace ash