Index: ui/keyboard/keyboard_controller_proxy.h |
diff --git a/ui/keyboard/keyboard_controller_proxy.h b/ui/keyboard/keyboard_controller_proxy.h |
index 98051fa248c74b8703ae3c1b53c15e94e48563c7..dc885e7572a2230742447cc07da279c17f81cc76 100644 |
--- a/ui/keyboard/keyboard_controller_proxy.h |
+++ b/ui/keyboard/keyboard_controller_proxy.h |
@@ -62,6 +62,11 @@ class KEYBOARD_EXPORT KeyboardControllerProxy : public aura::WindowObserver { |
// WebContent so we can just check if the WebContent is created or not. |
virtual bool HasKeyboardWindow() const; |
+ // Whether this window should do an overscroll to avoid occlusion by the |
+ // virtual keyboard. IME windows and virtual keyboard windows should always |
+ // avoid overscroll. |
+ virtual bool ShouldWindowOverscroll(aura::Window* window) const; |
+ |
// Gets the InputMethod that will provide notifications about changes in the |
// text input context. |
virtual ui::InputMethod* GetInputMethod() = 0; |