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

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

Issue 10829065: Remove InputMethodManager::EnableHotkeys() and DisableHotkeys(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_manager_impl.h » ('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_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // Gets the list of input method properties. The list could be empty(). 131 // Gets the list of input method properties. The list could be empty().
132 virtual InputMethodPropertyList GetCurrentInputMethodProperties() const = 0; 132 virtual InputMethodPropertyList GetCurrentInputMethodProperties() const = 0;
133 133
134 // Returns an X keyboard object which could be used to change the current XKB 134 // Returns an X keyboard object which could be used to change the current XKB
135 // layout, change the caps lock status, and set the auto repeat rate/interval. 135 // layout, change the caps lock status, and set the auto repeat rate/interval.
136 virtual XKeyboard* GetXKeyboard() = 0; 136 virtual XKeyboard* GetXKeyboard() = 0;
137 137
138 // Returns an InputMethodUtil object. 138 // Returns an InputMethodUtil object.
139 virtual InputMethodUtil* GetInputMethodUtil() = 0; 139 virtual InputMethodUtil* GetInputMethodUtil() = 0;
140 140
141 // Enables all input method hotkeys such as Alt+Shift. Note that all hotkeys
142 // are enabled on startup.
143 virtual void EnableHotkeys() = 0;
144
145 // Disables all input method hotkeys.
146 virtual void DisableHotkeys() = 0;
147
148 // Switches the current input method (or keyboard layout) to the next one. 141 // Switches the current input method (or keyboard layout) to the next one.
149 virtual bool SwitchToNextInputMethod() = 0; 142 virtual bool SwitchToNextInputMethod() = 0;
150 143
151 // Switches the current input method (or keyboard layout) to the previous one. 144 // Switches the current input method (or keyboard layout) to the previous one.
152 virtual bool SwitchToPreviousInputMethod() = 0; 145 virtual bool SwitchToPreviousInputMethod() = 0;
153 146
154 // Switches to an input method (or keyboard layout) which is associated with 147 // Switches to an input method (or keyboard layout) which is associated with
155 // the |accelerator|. 148 // the |accelerator|.
156 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0; 149 virtual bool SwitchInputMethod(const ui::Accelerator& accelerator) = 0;
157 150
(...skipping 13 matching lines...) Expand all
171 164
172 // Gets the global instance. Initialize() or InitializeForTesting() must be 165 // Gets the global instance. Initialize() or InitializeForTesting() must be
173 // called first. 166 // called first.
174 static InputMethodManager* GetInstance(); 167 static InputMethodManager* GetInstance();
175 }; 168 };
176 169
177 } // namespace input_method 170 } // namespace input_method
178 } // namespace chromeos 171 } // namespace chromeos
179 172
180 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_H_ 173 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/input_method/input_method_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698