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

Unified Diff: chrome/browser/chromeos/input_method/input_method_manager.cc

Issue 7493077: Add pref entry for virtual keyboard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 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_manager.cc
diff --git a/chrome/browser/chromeos/input_method/input_method_manager.cc b/chrome/browser/chromeos/input_method/input_method_manager.cc
index 0f532f86f4ba6ac84f83f2295c357c7a52bc1e36..f1cf15cd432ed8d28a3895afe275a6436b427963 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager.cc
+++ b/chrome/browser/chromeos/input_method/input_method_manager.cc
@@ -310,6 +310,16 @@ class InputMethodManagerImpl : public InputMethodManager,
is_system);
}
+ virtual bool SetVirtualKeyboardPreference(const std::string& input_method_id,
+ const GURL& extention_url) {
+ return virtual_keyboard_selector_.SetUserPreference(
+ input_method_id, extention_url);
+ }
+
+ virtual void ClearAllVirtualKeyboardPreferences() {
+ return virtual_keyboard_selector_.ClearAllUserPreferences();
+ }
+
static InputMethodManagerImpl* GetInstance() {
return Singleton<InputMethodManagerImpl,
DefaultSingletonTraits<InputMethodManagerImpl> >::get();

Powered by Google App Engine
This is Rietveld 408576698