DescriptionFix cropped floating gesture candidate window
This CL introduces ShouldWindowOverscroll function in
keyboard_controller_proxy to check if a window should
be overscrolled. There are two types of window that we
want to avoid overscroll all the time: virtual keyboard
window and ime windows. Ime windows are created by
chrome.app.window.create API. This window is used to
show gesture typing candidate or accents characters.
These two type of windows have the same parent, which is
kShellWindowId_ImeWindowParentContainer top level window.
To disable overscroll, this CL check if a window is a child of
the toplevel window and avoid set overscroll insets if it is.
BUG=529880
Committed: https://crrev.com/c50df996d949d687c0eb7014cf1bdc4162f85c6b
Cr-Commit-Position: refs/heads/master@{#354055}
Patch Set 1 #Patch Set 2 : reviews #
Total comments: 2
Patch Set 3 : revert change in root_window_controller #Patch Set 4 : #
Total comments: 8
Patch Set 5 : reviews #Patch Set 6 : rebase #Patch Set 7 : fix compile #
Depends on Patchset: Messages
Total messages: 35 (10 generated)
|