Chromium Code Reviews| Index: chrome/browser/input_method/input_method_engine.h |
| diff --git a/chrome/browser/input_method/input_method_engine.h b/chrome/browser/input_method/input_method_engine.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8b916bce08e6d4103f53a6f5671efabac96763d0 |
| --- /dev/null |
| +++ b/chrome/browser/input_method/input_method_engine.h |
| @@ -0,0 +1,36 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |
| +#define CHROME_BROWSER_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |
| + |
| +#include <string> |
| +#include <vector> |
| + |
| +#include "chrome/browser/input_method/input_method_engine_base.h" |
| + |
| +namespace input_method { |
| +class InputMethodEngine : public InputMethodEngineBase { |
| + public: |
| + InputMethodEngine(); |
| + |
| + ~InputMethodEngine() override; |
| + |
| + // ui::IMEEngineHandlerInterface: |
| + bool SendKeyEvents(int context_id, |
| + const std::vector<KeyboardEvent>& events) override; |
| + bool IsActive() const override; |
| + |
|
Devlin
2016/01/13 18:22:59
nit: no \n
Azure Wei
2016/01/14 14:03:48
Done.
|
| + std::string GetExtensionId() const override; |
| + |
| + private: |
| + // ::input_method::InputMethodEngineBase: |
| + bool CheckProfile() const override; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(InputMethodEngine); |
| +}; |
| + |
| +} // namespace input_method |
| + |
| +#endif // CHROME_BROWSER_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |