| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
|    2 // Use of this source code is governed by a BSD-style license that can be |    2 // Use of this source code is governed by a BSD-style license that can be | 
|    3 // found in the LICENSE file. |    3 // found in the LICENSE file. | 
|    4  |    4  | 
|    5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |    5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ | 
|    6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |    6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ | 
|    7  |    7  | 
|    8 #include <string> |    8 #include <string> | 
|    9 #include <vector> |    9 #include <vector> | 
|   10  |   10  | 
|   11 namespace chromeos { |   11 namespace chromeos { | 
|   12  |   12  | 
|   13 namespace input_method { |   13 namespace input_method { | 
|   14 struct KeyEventHandle; |   14 struct KeyEventHandle; | 
|   15 }  // namespace input_method |   15 }  // namespace input_method | 
|   16  |   16  | 
|   17 extern const char* kExtensionImePrefix; |  | 
|   18  |  | 
|   19 // InputMethodEngine is used to translate from the Chrome IME API to the native |   17 // InputMethodEngine is used to translate from the Chrome IME API to the native | 
|   20 // API. |   18 // API. | 
|   21 class InputMethodEngine { |   19 class InputMethodEngine { | 
|   22  public: |   20  public: | 
|   23   struct KeyboardEvent { |   21   struct KeyboardEvent { | 
|   24     KeyboardEvent(); |   22     KeyboardEvent(); | 
|   25     virtual ~KeyboardEvent(); |   23     virtual ~KeyboardEvent(); | 
|   26  |   24  | 
|   27     std::string type; |   25     std::string type; | 
|   28     std::string key; |   26     std::string key; | 
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  222       const char* engine_id, |  220       const char* engine_id, | 
|  223       const char* description, |  221       const char* description, | 
|  224       const char* language, |  222       const char* language, | 
|  225       const std::vector<std::string>& layouts, |  223       const std::vector<std::string>& layouts, | 
|  226       std::string* error); |  224       std::string* error); | 
|  227 }; |  225 }; | 
|  228  |  226  | 
|  229 }  // namespace chromeos |  227 }  // namespace chromeos | 
|  230  |  228  | 
|  231 #endif  // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ |  229 #endif  // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_ENGINE_H_ | 
| OLD | NEW |