Chromium Code Reviews| 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_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ | |
| 6 #define CHROME_BROWSER_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 #include <vector> | |
| 10 | |
| 11 #include "chrome/browser/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 | |
|
Devlin
2016/01/13 18:22:59
nit: no \n
Azure Wei
2016/01/14 14:03:48
Done.
| |
| 25 std::string GetExtensionId() const override; | |
| 26 | |
| 27 private: | |
| 28 // ::input_method::InputMethodEngineBase: | |
| 29 bool CheckProfile() const override; | |
| 30 | |
| 31 DISALLOW_COPY_AND_ASSIGN(InputMethodEngine); | |
| 32 }; | |
| 33 | |
| 34 } // namespace input_method | |
| 35 | |
| 36 #endif // CHROME_BROWSER_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ | |
| OLD | NEW |