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 011916f7b04505e06eea6a79a0dba8bf5ccc25fa..d16275d35a319d8bd8f011ce93b0740664cd44db 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 UIThreadExtensionFunction { |
ResponseAction Run() 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 { |