| Index: ui/keyboard/keyboard_ui.h
|
| diff --git a/ui/keyboard/keyboard_ui.h b/ui/keyboard/keyboard_ui.h
|
| index 895617ffca09abbdf5d6d5abf7c03d9433f4529c..b4fc21c607f4428a06f7ebd3f6312a36521f33f9 100644
|
| --- a/ui/keyboard/keyboard_ui.h
|
| +++ b/ui/keyboard/keyboard_ui.h
|
| @@ -36,6 +36,11 @@ class KEYBOARD_EXPORT KeyboardUI {
|
| // Whether the keyboard window has been created.
|
| virtual bool HasKeyboardWindow() const = 0;
|
|
|
| + // 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 = 0;
|
| +
|
| // Gets the InputMethod that will provide notifications about changes in the
|
| // text input context.
|
| virtual ui::InputMethod* GetInputMethod() = 0;
|
|
|