summaryrefslogtreecommitdiffstats
path: root/extensions/common
diff options
context:
space:
mode:
authorshuchen@chromium.org <shuchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 05:24:34 +0000
committershuchen@chromium.org <shuchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-12 05:24:34 +0000
commit3e14d6fd7206eb920aec5a0aa657ca8a233ae2fc (patch)
tree09fd2829364ebf6546462aca8b791674ccee7ef6 /extensions/common
parentf07db232d2c9ba90ae55b6986895adfbce6a117c (diff)
downloadchromium_src-3e14d6fd7206eb920aec5a0aa657ca8a233ae2fc.zip
chromium_src-3e14d6fd7206eb920aec5a0aa657ca8a233ae2fc.tar.gz
chromium_src-3e14d6fd7206eb920aec5a0aa657ca8a233ae2fc.tar.bz2
[IME API] Implement parsing 'input_view' url from manifest and pass it into input method engine. This cl doesn't include the code to use 'input_view' url. Later cl's will use it to create input view window.
BUG=chromium:316524 TEST=Locally verified and no breakage. Review URL: https://codereview.chromium.org/66253003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234414 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/common')
-rw-r--r--extensions/common/manifest_constants.cc3
-rw-r--r--extensions/common/manifest_constants.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/extensions/common/manifest_constants.cc b/extensions/common/manifest_constants.cc
index b15db19..ac73398 100644
--- a/extensions/common/manifest_constants.cc
+++ b/extensions/common/manifest_constants.cc
@@ -53,6 +53,7 @@ const char kImport[] = "import";
const char kIncognito[] = "incognito";
const char kIncludeGlobs[] = "include_globs";
const char kInputComponents[] = "input_components";
+const char kInputView[] = "input_view";
const char kIsolation[] = "app.isolation";
const char kJs[] = "js";
const char kKey[] = "key";
@@ -373,6 +374,8 @@ const char kInvalidInputComponentShortcutKeycode[] =
"Invalid value for 'input_components[*].shortcutKey.keyCode";
const char kInvalidInputComponentType[] =
"Invalid value for 'input_components[*].type";
+const char kInvalidInputView[] =
+ "Invalid value for 'input_view'.";
const char kInvalidIntent[] =
"Invalid value for intents[*]";
const char kInvalidIntentDisposition[] =
diff --git a/extensions/common/manifest_constants.h b/extensions/common/manifest_constants.h
index f645477..7180c9e 100644
--- a/extensions/common/manifest_constants.h
+++ b/extensions/common/manifest_constants.h
@@ -55,6 +55,7 @@ extern const char kImport[];
extern const char kIncognito[];
extern const char kIncludeGlobs[];
extern const char kInputComponents[];
+extern const char kInputView[];
extern const char kIntentDisposition[];
extern const char kIntentHref[];
extern const char kIntentPath[];
@@ -303,6 +304,7 @@ extern const char kInvalidInputComponentName[];
extern const char kInvalidInputComponentShortcutKey[];
extern const char kInvalidInputComponentShortcutKeycode[];
extern const char kInvalidInputComponentType[];
+extern const char kInvalidInputView[];
extern const char kInvalidIntent[];
extern const char kInvalidIntentDisposition[];
extern const char kInvalidIntentDispositionInPlatformApp[];