| Index: chrome/browser/extensions/api/input_ime/input_ime_api.h
|
| diff --git a/chrome/browser/extensions/api/input_ime/input_ime_api.h b/chrome/browser/extensions/api/input_ime/input_ime_api.h
|
| index bf9f69bbabd804218cb539c1ad30ac0e7014cf49..d7dc15d703ee3cbee6768c6ab8faa2fc63d180fe 100644
|
| --- a/chrome/browser/extensions/api/input_ime/input_ime_api.h
|
| +++ b/chrome/browser/extensions/api/input_ime/input_ime_api.h
|
| @@ -128,6 +128,29 @@ class InputImeKeyEventHandledFunction : public AsyncExtensionFunction {
|
| bool RunAsync() override;
|
| };
|
|
|
| +class InputImeSetCompositionFunction : public UIThreadExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION("input.ime.setComposition",
|
| + INPUT_IME_SETCOMPOSITION)
|
| +
|
| + protected:
|
| + ~InputImeSetCompositionFunction() override {}
|
| +
|
| + // UIThreadExtensionFunction:
|
| + ResponseAction Run() override;
|
| +};
|
| +
|
| +class InputImeCommitTextFunction : public UIThreadExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION("input.ime.commitText", INPUT_IME_COMMITTEXT)
|
| +
|
| + protected:
|
| + ~InputImeCommitTextFunction() override {}
|
| +
|
| + // UIThreadExtensionFunction:
|
| + ResponseAction Run() override;
|
| +};
|
| +
|
| class InputImeAPI : public BrowserContextKeyedAPI,
|
| public ExtensionRegistryObserver,
|
| public EventRouter::Observer {
|
|
|