Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3006)

Unified Diff: chrome/common/extensions/extension_constants.h

Issue 1611463002: Remove the close button in context menu for IME menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/extension_constants.h
diff --git a/chrome/common/extensions/extension_constants.h b/chrome/common/extensions/extension_constants.h
index 090e2300a813591fd631f7641d19188dad79a32a..f3faa597844814d1ef7e78c31b06ec38ade82751 100644
--- a/chrome/common/extensions/extension_constants.h
+++ b/chrome/common/extensions/extension_constants.h
@@ -221,6 +221,11 @@ extern const char kWallpaperManagerId[];
extern const char kWebstoreWidgetAppId[];
// The extension id of the new ZIP unpacker extension.
extern const char kZIPUnpackerExtensionId[];
+// The extension id of the IME extensions that will create IME menu.
+extern const char* const kImeMenuExtensionIds[2];
stevenjb 2016/01/28 18:45:04 No need to expose the constants in the header if t
+// Returns true if |extension_id| is one of the IME extensions that will create
+// IME menu.
+bool IsImeMenuExtensionId(const std::string extension_id);
stevenjb 2016/01/28 18:45:04 Move this after constant definitions (and maybe to
Devlin 2016/01/28 18:56:59 I'd just get rid of this function since it's only
stevenjb 2016/01/28 19:28:42 Heh, so, I actually recommended that we not embed
Devlin 2016/01/28 19:39:00 haha oh. I agree that the ids shouldn't necessari
stevenjb 2016/01/28 19:46:17 OK, let's go with that then (leaving the helper fu
Azure Wei 2016/01/29 02:43:59 Done. Thanks for all your comments.
#endif
// What causes an extension to be installed? Used in histograms, so don't

Powered by Google App Engine
This is Rietveld 408576698