OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MOCK_INPUT_METHOD_ENGINE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ |
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 #include "chrome/browser/chromeos/input_method/input_method_engine_interface.h" | 10 #include "chrome/browser/chromeos/input_method/input_method_engine_interface.h" |
11 #include "chromeos/ime/input_method_descriptor.h" | 11 #include "chromeos/ime/input_method_descriptor.h" |
12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
13 | 13 |
14 namespace ui { | 14 namespace ui { |
15 class KeyEvent; | 15 class KeyEvent; |
16 } // namespace ui | 16 } // namespace ui |
17 | 17 |
| 18 namespace ash { |
| 19 namespace ime { |
| 20 struct InputMethodMenuItem; |
| 21 } // namespace ime |
| 22 } // namespace ash |
| 23 |
18 namespace chromeos { | 24 namespace chromeos { |
19 | 25 |
20 class CompositionText; | 26 class CompositionText; |
21 | 27 |
22 namespace input_method { | 28 namespace input_method { |
23 class CandidateWindow; | 29 class CandidateWindow; |
24 struct InputMethodProperty; | |
25 struct KeyEventHandle; | 30 struct KeyEventHandle; |
26 } // namespace input_method | 31 } // namespace input_method |
27 | 32 |
28 class MockInputMethodEngine : public InputMethodEngineInterface { | 33 class MockInputMethodEngine : public InputMethodEngineInterface { |
29 public: | 34 public: |
30 explicit MockInputMethodEngine( | 35 explicit MockInputMethodEngine( |
31 const input_method::InputMethodDescriptor& descriptor); | 36 const input_method::InputMethodDescriptor& descriptor); |
32 virtual ~MockInputMethodEngine(); | 37 virtual ~MockInputMethodEngine(); |
33 | 38 |
34 // InputMethodEngineInterface overrides. | 39 // InputMethodEngineInterface overrides. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // Descriptor of this input method. | 92 // Descriptor of this input method. |
88 input_method::InputMethodDescriptor descriptor_; | 93 input_method::InputMethodDescriptor descriptor_; |
89 | 94 |
90 // The current candidate window property. | 95 // The current candidate window property. |
91 CandidateWindowProperty candidate_window_property_; | 96 CandidateWindowProperty candidate_window_property_; |
92 }; | 97 }; |
93 | 98 |
94 } // namespace chromeos | 99 } // namespace chromeos |
95 | 100 |
96 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ | 101 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_ENGINE_H_ |
OLD | NEW |