OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CROS_MOCK_LANGUAGE_LIBRARY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_LANGUAGE_LIBRARY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_LANGUAGE_LIBRARY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_LANGUAGE_LIBRARY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "chrome/browser/chromeos/cros/language_library.h" | 10 #include "chrome/browser/chromeos/cros/language_library.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 MOCK_METHOD0(GetActiveInputMethods, InputMethodDescriptors*(void)); | 23 MOCK_METHOD0(GetActiveInputMethods, InputMethodDescriptors*(void)); |
24 MOCK_METHOD0(GetSupportedInputMethods, InputMethodDescriptors*(void)); | 24 MOCK_METHOD0(GetSupportedInputMethods, InputMethodDescriptors*(void)); |
25 MOCK_METHOD1(ChangeInputMethod, void(const std::string&)); | 25 MOCK_METHOD1(ChangeInputMethod, void(const std::string&)); |
26 MOCK_METHOD2(SetImePropertyActivated, void(const std::string&, bool)); | 26 MOCK_METHOD2(SetImePropertyActivated, void(const std::string&, bool)); |
27 MOCK_METHOD1(InputMethodIsActivated, bool(const std::string&)); | 27 MOCK_METHOD1(InputMethodIsActivated, bool(const std::string&)); |
28 MOCK_METHOD3(GetImeConfig, bool(const char*, const char*, ImeConfigValue*)); | 28 MOCK_METHOD3(GetImeConfig, bool(const char*, const char*, ImeConfigValue*)); |
29 MOCK_METHOD3(SetImeConfig, bool(const char*, const char*, | 29 MOCK_METHOD3(SetImeConfig, bool(const char*, const char*, |
30 const ImeConfigValue&)); | 30 const ImeConfigValue&)); |
31 MOCK_CONST_METHOD0(current_input_method, const InputMethodDescriptor&(void)); | 31 MOCK_CONST_METHOD0(current_input_method, const InputMethodDescriptor&(void)); |
32 MOCK_CONST_METHOD0(current_ime_properties, const ImePropertyList&(void)); | 32 MOCK_CONST_METHOD0(current_ime_properties, const ImePropertyList&(void)); |
33 MOCK_CONST_METHOD0(is_focused, bool(void)); | |
34 }; | 33 }; |
35 | 34 |
36 } // namespace chromeos | 35 } // namespace chromeos |
37 | 36 |
38 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_LANGUAGE_LIBRARY_H_ | 37 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_LANGUAGE_LIBRARY_H_ |
39 | 38 |
OLD | NEW |