diff options
author | azurewei <azurewei@chromium.org> | 2016-02-23 19:12:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-24 03:13:34 +0000 |
commit | 8b26006523d6fd0afdd394c3bc3f84f5f842ad07 (patch) | |
tree | 0eba7fae3d0b8adf17a4701bb292332e4772052d /extensions/browser/extension_event_histogram_value.h | |
parent | a1b62008719deafac9384edcada8743464658c54 (diff) | |
download | chromium_src-8b26006523d6fd0afdd394c3bc3f84f5f842ad07.zip chromium_src-8b26006523d6fd0afdd394c3bc3f84f5f842ad07.tar.gz chromium_src-8b26006523d6fd0afdd394c3bc3f84f5f842ad07.tar.bz2 |
Implement chrome.inputMethodPrivate.onImeMenuListChanged API.
This API is used for new IME menu in Chrome OS. The event will be fired when the current input method or the list of active input method IDs is changed. Thus, the IME menu could be notified to update the menu list, with the other two private APIs: chrome.inputMethodPrivate.getCurrentInputMethod & chrome.inputMethodPrivate.getInputMethods.
Currently, the new IME menu relies on the chrome.input.ime.onActivate API, which will only notifies the current input method. When changing to other IME extensions that don't create IME menu, our menu will not get the changing event. So, we need this new added API to make sure the IME menu will get the list changing event every time.
BUG=517773
TEST=None
Review URL: https://codereview.chromium.org/1649293002
Cr-Commit-Position: refs/heads/master@{#377202}
Diffstat (limited to 'extensions/browser/extension_event_histogram_value.h')
-rw-r--r-- | extensions/browser/extension_event_histogram_value.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/browser/extension_event_histogram_value.h b/extensions/browser/extension_event_histogram_value.h index cc7ea53..18caf83 100644 --- a/extensions/browser/extension_event_histogram_value.h +++ b/extensions/browser/extension_event_histogram_value.h @@ -413,6 +413,7 @@ enum HistogramValue { DISPLAY_SOURCE_ON_SINKS_UPDATED, INPUT_IME_ON_COMPOSITION_BOUNDS_CHANGED, INPUT_METHOD_PRIVATE_ON_IME_MENU_ACTIVATION_CHANGED, + INPUT_METHOD_PRIVATE_ON_IME_MENU_LIST_CHANGED, // Last entry: Add new entries above, then run: // python tools/metrics/histograms/update_extension_histograms.py ENUM_BOUNDARY |