Index: ui/base/ime/input_method.h |
diff --git a/ui/base/ime/input_method.h b/ui/base/ime/input_method.h |
index 164b1f1a7e80ceb53cb0d8a66f877a353341bb65..888a955a42e49a757fef922cf66a2f28e8d5aedd 100644 |
--- a/ui/base/ime/input_method.h |
+++ b/ui/base/ime/input_method.h |
@@ -161,6 +161,14 @@ class InputMethod { |
// Displays an on screen keyboard if enabled. |
virtual void ShowImeIfNeeded() = 0; |
+ // Sets whether the on screen keyboard is enabled and supported by the |
+ // platform. |
+ virtual void SetSupportsOnScreenKeyboard(bool supported) = 0; |
+ |
+ // Returns true if on screen keyboard is enabled and supported by the |
+ // platform. |
+ virtual bool SupportsOnScreenKeyboard() const = 0; |
+ |
// Management of the observer list. |
virtual void AddObserver(InputMethodObserver* observer) = 0; |
virtual void RemoveObserver(InputMethodObserver* observer) = 0; |