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 d16275d35a319d8bd8f011ce93b0740664cd44db..26a56fb3db2f6d13d9c465512c3aef07090bc44f 100644 |
--- a/chrome/browser/extensions/api/input_ime/input_ime_api.h |
+++ b/chrome/browser/extensions/api/input_ime/input_ime_api.h |
@@ -151,6 +151,17 @@ class InputImeCommitTextFunction : public UIThreadExtensionFunction { |
ResponseAction Run() override; |
}; |
+class InputImeSendKeyEventsFunction : public UIThreadExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION("input.ime.sendKeyEvents", INPUT_IME_SENDKEYEVENTS) |
+ |
+ protected: |
+ ~InputImeSendKeyEventsFunction() override {} |
+ |
+ // UIThreadExtensionFunction: |
+ ResponseAction Run() override; |
+}; |
+ |
class InputImeAPI : public BrowserContextKeyedAPI, |
public ExtensionRegistryObserver, |
public EventRouter::Observer { |