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

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

Issue 312443002: Updates the whitelisted XKB input method IDs to sync up with the component XKB extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 0fb6df7b19c4b08e789b57d9c8c0ec07550c7e45..5503e0a041a0207bd4c1216c60fe50ece3083015 100644
--- a/chrome/browser/chromeos/input_method/input_method_util.h
+++ b/chrome/browser/chromeos/input_method/input_method_util.h
@@ -137,8 +137,11 @@ class InputMethodUtil {
// Returns true if the given input method id is for a keyboard layout.
static bool IsKeyboardLayout(const std::string& input_method_id);
- // Sets the list of component extension IMEs.
- void SetComponentExtensions(const InputMethodDescriptors& imes);
+ // Resets the list of component extension IMEs.
+ void ResetInputMethods(const InputMethodDescriptors& imes);
+
+ // Appends the additional list of component extension IMEs.
+ void AppendInputMethods(const InputMethodDescriptors& imes);
// Initializes the extension based xkb IMEs for testing.
void InitXkbInputMethodsForTesting();

Powered by Google App Engine
This is Rietveld 408576698