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

Side by Side Diff: chrome/browser/chromeos/input_method/mock_input_method_manager.h

Issue 133273032: Guest Mode: input method should default to the underlying latin keyboard layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-upload missing CL. Created 6 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
OLDNEW
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 "chromeos/ime/fake_input_method_delegate.h" 9 #include "chromeos/ime/fake_input_method_delegate.h"
10 #include "chromeos/ime/input_method_manager.h" 10 #include "chromeos/ime/input_method_manager.h"
(...skipping 17 matching lines...) Expand all
28 virtual void RemoveCandidateWindowObserver( 28 virtual void RemoveCandidateWindowObserver(
29 InputMethodManager::CandidateWindowObserver* observer) OVERRIDE; 29 InputMethodManager::CandidateWindowObserver* observer) OVERRIDE;
30 virtual scoped_ptr<InputMethodDescriptors> 30 virtual scoped_ptr<InputMethodDescriptors>
31 GetSupportedInputMethods() const OVERRIDE; 31 GetSupportedInputMethods() const OVERRIDE;
32 virtual scoped_ptr<InputMethodDescriptors> 32 virtual scoped_ptr<InputMethodDescriptors>
33 GetActiveInputMethods() const OVERRIDE; 33 GetActiveInputMethods() const OVERRIDE;
34 virtual const std::vector<std::string>& GetActiveInputMethodIds() const 34 virtual const std::vector<std::string>& GetActiveInputMethodIds() const
35 OVERRIDE; 35 OVERRIDE;
36 virtual size_t GetNumActiveInputMethods() const OVERRIDE; 36 virtual size_t GetNumActiveInputMethods() const OVERRIDE;
37 virtual void EnableLayouts(const std::string& language_code, 37 virtual void EnableLayouts(const std::string& language_code,
38 const std::string& initial_layout) OVERRIDE; 38 const std::string& initial_layout,
39 const bool login_layouts_only) OVERRIDE;
39 virtual bool EnableInputMethods( 40 virtual bool EnableInputMethods(
40 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; 41 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE;
41 virtual bool EnableInputMethod( 42 virtual bool EnableInputMethod(
42 const std::string& new_active_input_method_id) OVERRIDE; 43 const std::string& new_active_input_method_id) OVERRIDE;
43 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; 44 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE;
44 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; 45 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE;
45 virtual void AddInputMethodExtension( 46 virtual void AddInputMethodExtension(
46 const std::string& id, 47 const std::string& id,
47 InputMethodEngineInterface* instance) OVERRIDE; 48 InputMethodEngineInterface* instance) OVERRIDE;
48 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; 49 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // The active input method ids cache (actually default only) 91 // The active input method ids cache (actually default only)
91 std::vector<std::string> active_input_method_ids_; 92 std::vector<std::string> active_input_method_ids_;
92 93
93 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager); 94 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManager);
94 }; 95 };
95 96
96 } // namespace input_method 97 } // namespace input_method
97 } // namespace chromeos 98 } // namespace chromeos
98 99
99 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_ 100 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_MOCK_INPUT_METHOD_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698