Chromium Code Reviews| Index: chrome/browser/chromeos/extensions/input_method_api.h |
| diff --git a/chrome/browser/chromeos/extensions/input_method_api.h b/chrome/browser/chromeos/extensions/input_method_api.h |
| index c7d45e5f3f8b628619acaaafc8f03d5b7830bbd6..5f5db0e0e7ba8a2e4a8ca7390f46b9b5a237849d 100644 |
| --- a/chrome/browser/chromeos/extensions/input_method_api.h |
| +++ b/chrome/browser/chromeos/extensions/input_method_api.h |
| @@ -17,6 +17,21 @@ class ExtensionInputMethodEventRouter; |
| namespace extensions { |
| +// Implements the inputMethodPrivate.getConfig method. |
| +class GetConfigFunction : public UIThreadExtensionFunction { |
|
Yuki
2014/10/23 07:05:43
I'm worrying about the class name. It's extension
Shu Chen
2014/10/23 07:19:05
Done.
|
| + public: |
| + GetConfigFunction() {} |
| + |
| + protected: |
| + virtual ~GetConfigFunction() {} |
| + |
| + virtual ResponseAction Run() override; |
| + |
| + private: |
| + DECLARE_EXTENSION_FUNCTION("inputMethodPrivate.getConfig", |
| + INPUTMETHODPRIVATE_GETCONFIG) |
| +}; |
|
Yuki
2014/10/23 07:05:43
Better to have DISALLOW_COPY_AND_ASSIGN just in ca
Shu Chen
2014/10/23 07:19:05
Done.
|
| + |
| // Implements the inputMethodPrivate.getCurrentInputMethod method. |
| class GetCurrentInputMethodFunction : public UIThreadExtensionFunction { |
| public: |