summaryrefslogtreecommitdiffstats
path: root/extensions/common
diff options
context:
space:
mode:
authorazurewei <azurewei@chromium.org>2015-12-19 02:45:44 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-19 10:46:41 +0000
commit49f72db8dbff60fb22dfddf09dddeffe54f674db (patch)
treed560242bafb67924ebe6eac33c1686c93a184734 /extensions/common
parent3bc7779ba002f50675a18e2eae277d4617788e21 (diff)
downloadchromium_src-49f72db8dbff60fb22dfddf09dddeffe54f674db.zip
chromium_src-49f72db8dbff60fb22dfddf09dddeffe54f674db.tar.gz
chromium_src-49f72db8dbff60fb22dfddf09dddeffe54f674db.tar.bz2
Whitelist IME extensions for app.window with type:panel.
The app.window will be used to create IME menu. Please see the design doc: https://docs.google.com/document/d/1Ml1QUsaNbLXYFh3dW8Q3md7cY1oUhpYvyZWRqdjoOfo/edit#heading=h.nikhlivlb11n BUG=570761 TEST=Locally verified app.window API accessable for IME extensions. Review URL: https://codereview.chromium.org/1516253002 Cr-Commit-Position: refs/heads/master@{#366279}
Diffstat (limited to 'extensions/common')
-rw-r--r--extensions/common/constants.cc3
-rw-r--r--extensions/common/constants.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/extensions/common/constants.cc b/extensions/common/constants.cc
index cfd00c1..a481dcd 100644
--- a/extensions/common/constants.cc
+++ b/extensions/common/constants.cc
@@ -81,4 +81,7 @@ const char* const kHangoutsExtensionIds[6] = {
// Keep in sync with _api_features.json and _manifest_features.json.
};
+const char* const kIMEExtensionIds[2] = {"gjaehgfemfahhmlgpdfknkhdnemmolop",
+ "jkghodnilhceideoidjikpgommlajknk"};
+
} // namespace extension_misc
diff --git a/extensions/common/constants.h b/extensions/common/constants.h
index 37d0085..78c8f29 100644
--- a/extensions/common/constants.h
+++ b/extensions/common/constants.h
@@ -211,6 +211,9 @@ extern const char kProdHangoutsExtensionId[];
// Extension ids used by Hangouts.
extern const char* const kHangoutsExtensionIds[6];
+// Extension ids used by IME.
+extern const char* const kIMEExtensionIds[2];
+
} // namespace extension_misc
#endif // EXTENSIONS_COMMON_CONSTANTS_H_