summaryrefslogtreecommitdiffstats
path: root/extensions/browser/extension_event_histogram_value.h
diff options
context:
space:
mode:
authorazurewei <azurewei@chromium.org>2016-03-02 10:26:20 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-02 18:27:44 +0000
commit080d586d7396eed8d503e6ec3a7eec9fcd891041 (patch)
tree0f50454620d810d645f684d3764f06ee1d7dfceb /extensions/browser/extension_event_histogram_value.h
parent173427ac0cfb7081ea872a99a43258976277d7a8 (diff)
downloadchromium_src-080d586d7396eed8d503e6ec3a7eec9fcd891041.zip
chromium_src-080d586d7396eed8d503e6ec3a7eec9fcd891041.tar.gz
chromium_src-080d586d7396eed8d503e6ec3a7eec9fcd891041.tar.bz2
Add inputMethodPrivate.notifyImeMenuItemActivated/onImeMenuItemsChanged API.
Three public APIs are available on ChromeOS to make IME extensions work with the input items on the system status tray: input.ime.setMenuItems input.ime.updateMenuItems input.ime.onMenuItemActivated As we are now building a new IME menu with the IME extension, we need new private API to notify the extension which creates the IME menu with the three public APIs calling. Thus, these two private APIs are added in this cl: inputMethodPrivate.notifyImeMenuItemActivated: Fires the input.ime.onMenuItemActivated event. inputMethodPrivate.onImeMenuItemsChanged: Fired when the input.ime.setMenuItems or input.ime.updateMenuItems API is called. BUG=570761 TEST=Verified these two private APIs working on local build. Review URL: https://codereview.chromium.org/1750913003 Cr-Commit-Position: refs/heads/master@{#378779}
Diffstat (limited to 'extensions/browser/extension_event_histogram_value.h')
-rw-r--r--extensions/browser/extension_event_histogram_value.h1
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 18caf83..c139135 100644
--- a/extensions/browser/extension_event_histogram_value.h
+++ b/extensions/browser/extension_event_histogram_value.h
@@ -414,6 +414,7 @@ enum HistogramValue {
INPUT_IME_ON_COMPOSITION_BOUNDS_CHANGED,
INPUT_METHOD_PRIVATE_ON_IME_MENU_ACTIVATION_CHANGED,
INPUT_METHOD_PRIVATE_ON_IME_MENU_LIST_CHANGED,
+ INPUT_METHOD_PRIVATE_ON_IME_MENU_ITEMS_CHANGED,
// Last entry: Add new entries above, then run:
// python tools/metrics/histograms/update_extension_histograms.py
ENUM_BOUNDARY