| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |
| 6 #define CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |
| 7 |
| 8 #include <string> |
| 9 #include <vector> |
| 10 |
| 11 #include "chrome/browser/ui/input_method/input_method_engine_base.h" |
| 12 |
| 13 namespace input_method { |
| 14 class InputMethodEngine : public InputMethodEngineBase { |
| 15 public: |
| 16 InputMethodEngine(); |
| 17 |
| 18 ~InputMethodEngine() override; |
| 19 |
| 20 // ui::IMEEngineHandlerInterface: |
| 21 bool SendKeyEvents(int context_id, |
| 22 const std::vector<KeyboardEvent>& events) override; |
| 23 bool IsActive() const override; |
| 24 std::string GetExtensionId() const override; |
| 25 |
| 26 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(InputMethodEngine); |
| 28 }; |
| 29 |
| 30 } // namespace input_method |
| 31 |
| 32 #endif // CHROME_BROWSER_UI_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |
| OLD | NEW |