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

Unified Diff: chrome/browser/chromeos/cros/input_method_library.h

Issue 5981001: Use libcros to convert input method ID to keyboard overlay ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/cros/input_method_library.h
diff --git a/chrome/browser/chromeos/cros/input_method_library.h b/chrome/browser/chromeos/cros/input_method_library.h
index 7f55eea2609aadfbbecb6e767b3b844f48252f6d..724e7ddbd123a81a417beec7dd3344bdbcc84bd3 100644
--- a/chrome/browser/chromeos/cros/input_method_library.h
+++ b/chrome/browser/chromeos/cros/input_method_library.h
@@ -101,6 +101,11 @@ class InputMethodLibrary {
const char* config_name,
const ImeConfigValue& value) = 0;
+ // Returns the keyboard overlay ID corresponding to |input_method_id|.
+ // Returns an empty string if there is no corresponding keyboard overlay ID.
+ virtual std::string GetKeyboardOverlayId(
+ const std::string& input_method_id) = 0;
satorux1 2011/01/05 03:42:29 You can make it a const function as this function
mazda 2011/01/05 11:29:44 Since EnsureLoadedAndStarted, which is used for th
satorux1 2011/01/06 04:39:19 Then, it's fine to be non-const. Sorry about the b
+
// Sets the IME state to enabled, and launches its processes if needed.
virtual void StartInputMethodProcesses() = 0;

Powered by Google App Engine
This is Rietveld 408576698