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

Unified Diff: chrome/browser/chromeos/input_method/input_method_util.h

Issue 13954012: Move GetFallbackInputMethodDescriptor function to InputMethodUtil. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/input_method/input_method_util.h
diff --git a/chrome/browser/chromeos/input_method/input_method_util.h b/chrome/browser/chromeos/input_method/input_method_util.h
index cb03e5fe0a9507709a4e2da1024a8e6b44631569..250c86068a18875377f5eae904d42e2c7af75c8a 100644
--- a/chrome/browser/chromeos/input_method/input_method_util.h
+++ b/chrome/browser/chromeos/input_method/input_method_util.h
@@ -114,6 +114,11 @@ class InputMethodUtil {
// Sets the list of component extension IMEs.
void SetComponentExtensions(const InputMethodDescriptors& imes);
+ // Returns the fallback input method descriptor (the very basic US
+ // keyboard). This function is mostly used for testing, but may be used
+ // as the fallback, when there is no other choice.
+ static InputMethodDescriptor GetFallbackInputMethodDescriptor();
+
protected:
// protected: for unit testing as well.
bool GetInputMethodIdsFromLanguageCodeInternal(

Powered by Google App Engine
This is Rietveld 408576698