| 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_util.h" | 8 #include "chrome/browser/chromeos/input_method/input_method_util.h" |
| 9 #include "ui/base/ime/chromeos/component_extension_ime_manager.h" | 9 #include "chromeos/ime/component_extension_ime_manager.h" |
| 10 #include "ui/base/ime/chromeos/fake_ime_keyboard.h" | 10 #include "chromeos/ime/fake_ime_keyboard.h" |
| 11 #include "ui/base/ime/chromeos/fake_input_method_delegate.h" | 11 #include "chromeos/ime/fake_input_method_delegate.h" |
| 12 #include "ui/base/ime/chromeos/input_method_manager.h" | 12 #include "chromeos/ime/input_method_manager.h" |
| 13 #include "ui/base/ime/chromeos/input_method_whitelist.h" | 13 #include "chromeos/ime/input_method_whitelist.h" |
| 14 | 14 |
| 15 namespace chromeos { | 15 namespace chromeos { |
| 16 namespace input_method { | 16 namespace input_method { |
| 17 | 17 |
| 18 // The mock implementation of InputMethodManager for testing. | 18 // The mock implementation of InputMethodManager for testing. |
| 19 class MockInputMethodManager : public InputMethodManager { | 19 class MockInputMethodManager : public InputMethodManager { |
| 20 public: | 20 public: |
| 21 class State : public InputMethodManager::State { | 21 class State : public InputMethodManager::State { |
| 22 public: | 22 public: |
| 23 explicit State(MockInputMethodManager* manager); | 23 explicit State(MockInputMethodManager* manager); |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 bool mod3_used_; | 128 bool mod3_used_; |
| 129 scoped_ptr<ComponentExtensionIMEManager> comp_ime_manager_; | 129 scoped_ptr<ComponentExtensionIMEManager> comp_ime_manager_; |
| 130 | 130 |
| 131 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); | 131 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace input_method | 134 } // namespace input_method |
| 135 } // namespace chromeos | 135 } // namespace chromeos |
| 136 | 136 |
| 137 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ | 137 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ |
| OLD | NEW |