| Index: chrome/browser/chromeos/input_method/mock_input_method_manager.h
|
| diff --git a/chrome/browser/chromeos/input_method/mock_input_method_manager.h b/chrome/browser/chromeos/input_method/mock_input_method_manager.h
|
| index e3737076bab8f1906418f2f5f8660821b9211018..632c14ab32d678f09163f6733ddae4d96f65faff 100644
|
| --- a/chrome/browser/chromeos/input_method/mock_input_method_manager.h
|
| +++ b/chrome/browser/chromeos/input_method/mock_input_method_manager.h
|
| @@ -31,11 +31,15 @@ class MockInputMethodManager : public InputMethodManager {
|
| GetSupportedInputMethods() const OVERRIDE;
|
| virtual scoped_ptr<InputMethodDescriptors>
|
| GetActiveInputMethods() const OVERRIDE;
|
| + virtual const std::vector<std::string>& GetActiveInputMethodIds() const
|
| + OVERRIDE;
|
| virtual size_t GetNumActiveInputMethods() const OVERRIDE;
|
| virtual void EnableLayouts(const std::string& language_code,
|
| const std::string& initial_layout) OVERRIDE;
|
| virtual bool EnableInputMethods(
|
| const std::vector<std::string>& new_active_input_method_ids) OVERRIDE;
|
| + virtual bool EnableInputMethod(
|
| + const std::string& new_active_input_method_id) OVERRIDE;
|
| virtual bool MigrateOldInputMethods(
|
| std::vector<std::string>* input_method_ids) OVERRIDE;
|
| virtual bool MigrateKoreanKeyboard(
|
| @@ -68,6 +72,7 @@ class MockInputMethodManager : public InputMethodManager {
|
| virtual InputMethodUtil* GetInputMethodUtil() OVERRIDE;
|
| virtual ComponentExtensionIMEManager*
|
| GetComponentExtensionIMEManager() OVERRIDE;
|
| + virtual bool IsLanguageFullLatinKeyboard(const std::string&) const OVERRIDE;
|
|
|
| // Sets an input method ID which will be returned by GetCurrentInputMethod().
|
| void SetCurrentInputMethodId(const std::string& input_method_id) {
|
| @@ -91,6 +96,9 @@ class MockInputMethodManager : public InputMethodManager {
|
| InputMethodUtil util_;
|
| MockXKeyboard xkeyboard_;
|
|
|
| + // The active input method ids cache (actually default only)
|
| + std::vector<std::string> active_input_method_ids_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager);
|
| };
|
|
|
|
|