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

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

Issue 6251003: Revert "Revert "Use libcros to convert input method ID to keyboard overlay ID."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
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_INPUT_METHOD_LIBRARY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_INPUT_METHOD_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_INPUT_METHOD_LIBRARY_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_INPUT_METHOD_LIBRARY_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 16 matching lines...) Expand all
27 MOCK_METHOD1(ChangeInputMethod, void(const std::string&)); 27 MOCK_METHOD1(ChangeInputMethod, void(const std::string&));
28 MOCK_METHOD2(SetImePropertyActivated, void(const std::string&, bool)); 28 MOCK_METHOD2(SetImePropertyActivated, void(const std::string&, bool));
29 MOCK_METHOD1(InputMethodIsActivated, bool(const std::string&)); 29 MOCK_METHOD1(InputMethodIsActivated, bool(const std::string&));
30 MOCK_METHOD3(GetImeConfig, bool(const std::string&, const std::string&, 30 MOCK_METHOD3(GetImeConfig, bool(const std::string&, const std::string&,
31 ImeConfigValue*)); 31 ImeConfigValue*));
32 MOCK_METHOD3(SetImeConfig, bool(const std::string&, const std::string&, 32 MOCK_METHOD3(SetImeConfig, bool(const std::string&, const std::string&,
33 const ImeConfigValue&)); 33 const ImeConfigValue&));
34 MOCK_CONST_METHOD0(previous_input_method, const InputMethodDescriptor&(void)); 34 MOCK_CONST_METHOD0(previous_input_method, const InputMethodDescriptor&(void));
35 MOCK_CONST_METHOD0(current_input_method, const InputMethodDescriptor&(void)); 35 MOCK_CONST_METHOD0(current_input_method, const InputMethodDescriptor&(void));
36 MOCK_CONST_METHOD0(current_ime_properties, const ImePropertyList&(void)); 36 MOCK_CONST_METHOD0(current_ime_properties, const ImePropertyList&(void));
37 MOCK_METHOD1(GetKeyboardOverlayId, std::string(const std::string&));
37 MOCK_METHOD0(StartInputMethodProcesses, void(void)); 38 MOCK_METHOD0(StartInputMethodProcesses, void(void));
38 MOCK_METHOD0(StopInputMethodProcesses, void(void)); 39 MOCK_METHOD0(StopInputMethodProcesses, void(void));
39 MOCK_METHOD1(SetDeferImeStartup, void(bool)); 40 MOCK_METHOD1(SetDeferImeStartup, void(bool));
40 MOCK_METHOD1(SetEnableAutoImeShutdown, void(bool)); 41 MOCK_METHOD1(SetEnableAutoImeShutdown, void(bool));
41 }; 42 };
42 43
43 } // namespace chromeos 44 } // namespace chromeos
44 45
45 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_INPUT_METHOD_LIBRARY_H_ 46 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_INPUT_METHOD_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/input_method_library.cc ('k') | chrome/browser/chromeos/dom_ui/keyboard_overlay_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698