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

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: 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/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 f84fb9aa3eafc61c06c7301f8a6c3f887b6bb88f..e33ce29f0961142a40ce985e6fdb52ebb4cfb90c 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager.cc
+++ b/chrome/browser/chromeos/input_method/input_method_manager.cc
@@ -297,6 +297,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 ClearVirtualKeyboardPreference() {
+ return virtual_keyboard_selector_.ClearUserPreference();
+ }
+
static InputMethodManagerImpl* GetInstance() {
return Singleton<InputMethodManagerImpl,
DefaultSingletonTraits<InputMethodManagerImpl> >::get();

Powered by Google App Engine
This is Rietveld 408576698