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

Unified Diff: ui/keyboard/keyboard_controller_proxy.h

Issue 1323053005: Fix cropped floating gesture candidate window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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: 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;

Powered by Google App Engine
This is Rietveld 408576698