Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: chrome/browser/chromeos/cros/mock_language_library.h

Issue 2767001: Don't use disabled (gray) state for the language indicator. (Closed)
Patch Set: fixed all Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/language_library.cc ('k') | chrome/browser/chromeos/status/language_menu_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698