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

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

Issue 9809016: Disable extension IMEs when the screen is locked (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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.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_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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 // Disables the IME, and kills the daemon process if they are running. 199 // Disables the IME, and kills the daemon process if they are running.
200 // Returns true if the daemon is stopped. Otherwise, e.g. the daemon is 200 // Returns true if the daemon is stopped. Otherwise, e.g. the daemon is
201 // already stopped, returns false. 201 // already stopped, returns false.
202 virtual bool StopInputMethodDaemon() = 0; 202 virtual bool StopInputMethodDaemon() = 0;
203 203
204 // Controls whether the IME process is stopped when all non-default preload 204 // Controls whether the IME process is stopped when all non-default preload
205 // engines are removed. 205 // engines are removed.
206 virtual void SetEnableAutoImeShutdown(bool enable) = 0; 206 virtual void SetEnableAutoImeShutdown(bool enable) = 0;
207 207
208 // Controls whether extension IME are displayed in the language menu, and can
209 // be selected.
210 virtual void SetEnableExtensionIMEs(bool enable) = 0;
211
208 // Sends a handwriting stroke to libcros. See chromeos::SendHandwritingStroke 212 // Sends a handwriting stroke to libcros. See chromeos::SendHandwritingStroke
209 // for details. 213 // for details.
210 virtual void SendHandwritingStroke( 214 virtual void SendHandwritingStroke(
211 const HandwritingStroke& stroke) = 0; 215 const HandwritingStroke& stroke) = 0;
212 216
213 // Clears last N handwriting strokes in libcros. See 217 // Clears last N handwriting strokes in libcros. See
214 // chromeos::CancelHandwriting for details. 218 // chromeos::CancelHandwriting for details.
215 virtual void CancelHandwritingStrokes(int stroke_count) = 0; 219 virtual void CancelHandwritingStrokes(int stroke_count) = 0;
216 220
217 // Registers a new virtual keyboard for |layouts|. Set |is_system| true when 221 // Registers a new virtual keyboard for |layouts|. Set |is_system| true when
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 virtual InputMethodDescriptor GetPreviousInputMethod() const = 0; 268 virtual InputMethodDescriptor GetPreviousInputMethod() const = 0;
265 virtual InputMethodDescriptor GetCurrentInputMethod() const = 0; 269 virtual InputMethodDescriptor GetCurrentInputMethod() const = 0;
266 270
267 virtual InputMethodPropertyList GetCurrentInputMethodProperties() const = 0; 271 virtual InputMethodPropertyList GetCurrentInputMethodProperties() const = 0;
268 }; 272 };
269 273
270 } // namespace input_method 274 } // namespace input_method
271 } // namespace chromeos 275 } // namespace chromeos
272 276
273 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_METHOD_MANAGER_H_ 277 #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.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698