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

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

Issue 136693012: [IME] Supports options page for each IME instead of single options page for each IME extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit tests compiling errors. 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_manager_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 virtual void RemoveObserver(InputMethodManager::Observer* observer) OVERRIDE; 50 virtual void RemoveObserver(InputMethodManager::Observer* observer) OVERRIDE;
51 virtual void RemoveCandidateWindowObserver( 51 virtual void RemoveCandidateWindowObserver(
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(
61 const std::string& input_method_id) const OVERRIDE;
60 virtual void EnableLayouts(const std::string& language_code, 62 virtual void EnableLayouts(const std::string& language_code,
61 const std::string& initial_layout) OVERRIDE; 63 const std::string& initial_layout) OVERRIDE;
62 virtual bool EnableInputMethods( 64 virtual bool EnableInputMethods(
63 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE; 65 const std::vector<std::string>& new_active_input_method_ids) OVERRIDE;
64 virtual bool EnableInputMethod(const std::string& new_active_input_method_id) 66 virtual bool EnableInputMethod(const std::string& new_active_input_method_id)
65 OVERRIDE; 67 OVERRIDE;
66 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE; 68 virtual void ChangeInputMethod(const std::string& input_method_id) OVERRIDE;
67 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE; 69 virtual void ActivateInputMethodProperty(const std::string& key) OVERRIDE;
68 virtual void AddInputMethodExtension( 70 virtual void AddInputMethodExtension(
69 const std::string& id, 71 const std::string& id,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 216
215 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_; 217 base::WeakPtrFactory<InputMethodManagerImpl> weak_ptr_factory_;
216 218
217 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl); 219 DISALLOW_COPY_AND_ASSIGN(InputMethodManagerImpl);
218 }; 220 };
219 221
220 } // namespace input_method 222 } // namespace input_method
221 } // namespace chromeos 223 } // namespace chromeos
222 224
223 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_ 225 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698