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

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

Issue 139803010: Support comma separated hardware keyboard layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: /EnableInputMethods/ReplaceEnabeldInputMethods/ 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 | Annotate | Revision Log
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 EnableLoginLayouts(const std::string& language_code, 62 virtual void EnableLoginLayouts(
63 const std::string& initial_layout) OVERRIDE; 63 const std::string& language_code,
64 virtual bool EnableInputMethods( 64 const std::vector<std::string>& initial_layouts) OVERRIDE;
65 virtual bool ReplaceEnabledInputMethods(
65 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; 66 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE;
66 virtual bool EnableInputMethod(const std::string& new_active_input_method_id) 67 virtual bool EnableInputMethod(const std::string& new_active_input_method_id)
67 OVERRIDE; 68 OVERRIDE;
68 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; 69 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE;
69 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; 70 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE;
70 virtual void AddInputMethodExtension( 71 virtual void AddInputMethodExtension(
71 const std::string& id, 72 const std::string& id,
72 InputMethodEngineInterface* instance) OVERRIDE; 73 InputMethodEngineInterface* instance) OVERRIDE;
73 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE; 74 virtual void RemoveInputMethodExtension(const std::string& id) OVERRIDE;
74 virtual void GetInputMethodExtensions( 75 virtual void GetInputMethodExtensions(
75 InputMethodDescriptors* result) OVERRIDE; 76 InputMethodDescriptors* result) OVERRIDE;
76 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE; 77 virtual void SetEnabledExtensionImes(std::vector<std::string>* ids) OVERRIDE;
77 virtual void SetInputMethodDefault() OVERRIDE; 78 virtual void SetInputMethodLoginDefault() OVERRIDE;
78 virtual bool SwitchToNextInputMethod() OVERRIDE; 79 virtual bool SwitchToNextInputMethod() OVERRIDE;
79 virtual bool SwitchToPreviousInputMethod( 80 virtual bool SwitchToPreviousInputMethod(
80 const ui::Accelerator& accelerator) OVERRIDE; 81 const ui::Accelerator& accelerator) OVERRIDE;
81 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE; 82 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) OVERRIDE;
82 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE; 83 virtual InputMethodDescriptor GetCurrentInputMethod() const OVERRIDE;
83 virtual InputMethodPropertyList 84 virtual InputMethodPropertyList
84 GetCurrentInputMethodProperties() const OVERRIDE; 85 GetCurrentInputMethodProperties() const OVERRIDE;
85 virtual void SetCurrentInputMethodProperties( 86 virtual void SetCurrentInputMethodProperties(
86 const InputMethodPropertyList& property_list) OVERRIDE; 87 const InputMethodPropertyList& property_list) OVERRIDE;
87 88
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 217
217 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; 218 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_;
218 219
219 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); 220 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl);
220 }; 221 };
221 222
222 } // namespace input_method 223 } // namespace input_method
223 } // namespace chromeos 224 } // namespace chromeos
224 225
225 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ 226 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698