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

Side by Side Diff: chrome/browser/chromeos/input_method/input_method_manager_impl.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: Rebase. Use EnableInputMethod instead of EnableInputMethods. Created 6 years, 10 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_INPUT_METHOD_MANAGER_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 InputMethodManager::CandidateWindowObserver* observer) OVERRIDE; 52 InputMethodManager::CandidateWindowObserver* observer) OVERRIDE;
53 virtual scoped_ptr<InputMethodDescriptors> 53 virtual scoped_ptr<InputMethodDescriptors>
54 GetSupportedInputMethods() const OVERRIDE; 54 GetSupportedInputMethods() const OVERRIDE;
55 virtual scoped_ptr<InputMethodDescriptors> 55 virtual scoped_ptr<InputMethodDescriptors>
56 GetActiveInputMethods() const OVERRIDE; 56 GetActiveInputMethods() const OVERRIDE;
57 virtual const std::vector<std::string>& GetActiveInputMethodIds() const 57 virtual const std::vector<std::string>& GetActiveInputMethodIds() const
58 OVERRIDE; 58 OVERRIDE;
59 virtual size_t GetNumActiveInputMethods() const OVERRIDE; 59 virtual size_t GetNumActiveInputMethods() const OVERRIDE;
60 virtual const InputMethodDescriptor* GetInputMethodFromId( 60 virtual const InputMethodDescriptor* GetInputMethodFromId(
61 const std::string& input_method_id) const OVERRIDE; 61 const std::string& input_method_id) const OVERRIDE;
62 virtual void EnableLayouts(const std::string& language_code, 62 virtual void EnableLoginLayouts(const std::string& language_code,
63 const std::string& initial_layout) OVERRIDE; 63 const std::string& initial_layout) OVERRIDE;
64 virtual bool EnableInputMethods( 64 virtual bool EnableInputMethods(
65 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; 65 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE;
66 virtual bool EnableInputMethod(const std::string& new_active_input_method_id) 66 virtual bool EnableInputMethod(const std::string& new_active_input_method_id)
67 OVERRIDE; 67 OVERRIDE;
68 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; 68 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE;
69 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; 69 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE;
70 virtual void AddInputMethodExtension( 70 virtual void AddInputMethodExtension(
71 const std::string& id, 71 const std::string& id,
72 InputMethodEngineInterface* instance) OVERRIDE; 72 InputMethodEngineInterface* instance) OVERRIDE;
73 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; 73 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; 217 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_;
218 218
219 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); 219 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl);
220 }; 220 };
221 221
222 } // namespace input_method 222 } // namespace input_method
223 } // namespace chromeos 223 } // namespace chromeos
224 224
225 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ 225 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698