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

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

Issue 7493077: Add pref entry for virtual keyboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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/virtual_keyboard_selector.h
diff --git a/chrome/browser/chromeos/input_method/virtual_keyboard_selector.h b/chrome/browser/chromeos/input_method/virtual_keyboard_selector.h
index bf6014e8a7ea3139c161209315ac6b7d849492a8..9367a23f67b4a5244d7d4199f0dbd34b56553f47 100644
--- a/chrome/browser/chromeos/input_method/virtual_keyboard_selector.h
+++ b/chrome/browser/chromeos/input_method/virtual_keyboard_selector.h
@@ -91,6 +91,9 @@ class VirtualKeyboardSelector {
// Removes the preference for the |layout| added by SetUserPreference.
void RemoveUserPreference(const std::string& layout);
+ // Removes all preferences added by SetUserPreference.
+ void ClearUserPreference();
+
protected:
// Selects and returns the most suitable virtual keyboard extension for the
// |layout|. Unlike SelectVirtualKeyboard(), this function only scans

Powered by Google App Engine
This is Rietveld 408576698