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_MOCK_INPUT_METHOD_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 8 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
9 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 9 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
| 10 #include "chrome/browser/chromeos/input_method/input_method_whitelist.h" |
10 #include "chrome/browser/chromeos/input_method/mock_xkeyboard.h" | 11 #include "chrome/browser/chromeos/input_method/mock_xkeyboard.h" |
11 #include "chromeos/ime/input_method_whitelist.h" | |
12 #include "chromeos/ime/mock_input_method_delegate.h" | 12 #include "chromeos/ime/mock_input_method_delegate.h" |
13 | 13 |
14 namespace chromeos { | 14 namespace chromeos { |
15 namespace input_method { | 15 namespace input_method { |
16 | 16 |
17 // The mock implementation of InputMethodManager for testing. | 17 // The mock implementation of InputMethodManager for testing. |
18 class MockInputMethodManager : public InputMethodManager { | 18 class MockInputMethodManager : public InputMethodManager { |
19 public: | 19 public: |
20 MockInputMethodManager(); | 20 MockInputMethodManager(); |
21 virtual ~MockInputMethodManager(); | 21 virtual ~MockInputMethodManager(); |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 InputMethodUtil util_; | 83 InputMethodUtil util_; |
84 MockXKeyboard xkeyboard_; | 84 MockXKeyboard xkeyboard_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); | 86 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); |
87 }; | 87 }; |
88 | 88 |
89 } // namespace input_method | 89 } // namespace input_method |
90 } // namespace chromeos | 90 } // namespace chromeos |
91 | 91 |
92 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ | 92 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
OLD | NEW |