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

Unified Diff: chrome/browser/chromeos/input_method/input_method_manager.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/input_method_manager.h
diff --git a/chrome/browser/chromeos/input_method/input_method_manager.h b/chrome/browser/chromeos/input_method/input_method_manager.h
index c47d4e9b570d5f149e445f26f810aae221467c17..9c348b20ff398051afac7d6f2ee5d61473011858 100644
--- a/chrome/browser/chromeos/input_method/input_method_manager.h
+++ b/chrome/browser/chromeos/input_method/input_method_manager.h
@@ -26,7 +26,6 @@ namespace input_method {
class VirtualKeyboard;
-
// This class manages input methodshandles. Classes can add themselves as
// observers. Clients can get an instance of this library class by:
// InputMethodManager::GetInstance().
@@ -166,6 +165,15 @@ class InputMethodManager {
const std::set<std::string>& layouts,
bool is_system) = 0;
+ // Sets user preference on virtual keyboard selection.
+ // See virtual_keyboard_selector.h for details.
+ virtual bool SetVirtualKeyboardPreference(const std::string& input_method_id,
+ const GURL& extention_url) = 0;
+
+ // Clears all preferences on virtual keyboard selection.
+ // See virtual_keyboard_selector.h for details.
+ virtual void ClearVirtualKeyboardPreference() = 0;
+
virtual input_method::InputMethodDescriptor previous_input_method() const = 0;
virtual input_method::InputMethodDescriptor current_input_method() const = 0;

Powered by Google App Engine
This is Rietveld 408576698