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

Issue 1323053005: Fix cropped floating gesture candidate window (Closed)

Created:
5 years, 3 months ago by bshe
Modified:
5 years, 2 months ago
Reviewers:
sadrul, oshima
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -8 lines) Patch
M ash/test/test_keyboard_ui.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ash/test/test_keyboard_ui.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_keyboard_ui.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_keyboard_ui.cc View 1 2 3 4 5 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/keyboard_controller_browsertest.cc View 1 2 3 4 5 2 chunks +79 lines, -0 lines 0 comments Download
M ui/keyboard/content/keyboard_ui_content.h View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M ui/keyboard/content/keyboard_ui_content.cc View 1 2 3 4 5 4 chunks +15 lines, -7 lines 0 comments Download
M ui/keyboard/keyboard_controller_unittest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M ui/keyboard/keyboard_ui.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 35 (10 generated)
bshe
Hi Sadrul. Can you take a look at this CL? Thanks!
5 years, 3 months ago (2015-09-09 19:01:28 UTC) #2
sadrul
On 2015/09/09 19:01:28, bshe wrote: > Hi Sadrul. Can you take a look at this ...
5 years, 3 months ago (2015-09-10 18:20:17 UTC) #3
bshe
On 2015/09/10 18:20:17, sadrul wrote: > On 2015/09/09 19:01:28, bshe wrote: > > Hi Sadrul. ...
5 years, 3 months ago (2015-09-10 18:46:30 UTC) #4
sadrul
On 2015/09/10 18:46:30, bshe wrote: > On 2015/09/10 18:20:17, sadrul wrote: > > On 2015/09/09 ...
5 years, 3 months ago (2015-09-10 19:08:23 UTC) #5
bshe
On 2015/09/10 19:08:23, sadrul wrote: > On 2015/09/10 18:46:30, bshe wrote: > > On 2015/09/10 ...
5 years, 3 months ago (2015-09-10 19:11:42 UTC) #6
sadrul
On 2015/09/10 19:11:42, bshe wrote: > On 2015/09/10 19:08:23, sadrul wrote: > > On 2015/09/10 ...
5 years, 3 months ago (2015-09-10 19:28:36 UTC) #7
bshe
Thanks for review! PTAL. I have addressed your comment inline. If it looks good, I ...
5 years, 3 months ago (2015-09-14 20:23:51 UTC) #8
sadrul
Nice! This looks much better. https://codereview.chromium.org/1323053005/diff/20001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/1323053005/diff/20001/ash/root_window_controller.cc#newcode681 ash/root_window_controller.cc:681: aura::Window* parent = GetContainer(kShellWindowId_VirtualKeyboardContainer); ...
5 years, 3 months ago (2015-09-14 20:28:09 UTC) #9
sadrul
On 2015/09/14 20:23:51, bshe wrote: > Thanks for review! PTAL. I have addressed your comment ...
5 years, 3 months ago (2015-09-14 20:36:50 UTC) #10
bshe
Done. PTAL. Thanks! https://codereview.chromium.org/1323053005/diff/20001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): https://codereview.chromium.org/1323053005/diff/20001/ash/root_window_controller.cc#newcode681 ash/root_window_controller.cc:681: aura::Window* parent = GetContainer(kShellWindowId_VirtualKeyboardContainer); On 2015/09/14 ...
5 years, 3 months ago (2015-09-15 13:09:33 UTC) #11
sadrul
On 2015/09/14 20:23:51, bshe wrote: > Thanks for review! PTAL. I have addressed your comment ...
5 years, 3 months ago (2015-09-15 16:19:16 UTC) #12
bshe
Added a test. PTAL. Thanks also +oshima for owner Thanks!
5 years, 2 months ago (2015-09-23 12:43:24 UTC) #15
oshima
https://codereview.chromium.org/1323053005/diff/80001/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc File chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc (right): https://codereview.chromium.org/1323053005/diff/80001/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc#newcode190 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc:190: if (!root_window_controller) can this happen? If not, please use ...
5 years, 2 months ago (2015-09-23 19:57:27 UTC) #16
bshe
https://codereview.chromium.org/1323053005/diff/80001/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc File chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc (right): https://codereview.chromium.org/1323053005/diff/80001/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc#newcode190 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc:190: if (!root_window_controller) On 2015/09/23 19:57:27, oshima wrote: > can ...
5 years, 2 months ago (2015-09-24 11:56:15 UTC) #17
oshima
https://codereview.chromium.org/1323053005/diff/80001/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc File chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc (right): https://codereview.chromium.org/1323053005/diff/80001/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc#newcode190 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc:190: if (!root_window_controller) On 2015/09/24 11:56:15, bshe wrote: > On ...
5 years, 2 months ago (2015-09-24 17:28:07 UTC) #18
bshe
PTAL, Thanks! https://codereview.chromium.org/1323053005/diff/80001/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc File chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc (right): https://codereview.chromium.org/1323053005/diff/80001/chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc#newcode190 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc:190: if (!root_window_controller) On 2015/09/24 17:28:07, oshima wrote: ...
5 years, 2 months ago (2015-09-28 14:42:40 UTC) #19
oshima
lgtm
5 years, 2 months ago (2015-09-30 19:29:03 UTC) #20
sadrul
lgtm
5 years, 2 months ago (2015-10-01 04:16:20 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323053005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323053005/100001
5 years, 2 months ago (2015-10-13 14:36:10 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/126856) android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 2 months ago (2015-10-13 14:46:42 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323053005/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323053005/120001
5 years, 2 months ago (2015-10-14 15:37:35 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/66491)
5 years, 2 months ago (2015-10-14 15:50:18 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323053005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323053005/140001
5 years, 2 months ago (2015-10-14 17:31:27 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 2 months ago (2015-10-14 17:37:10 UTC) #34
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 17:38:59 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/c50df996d949d687c0eb7014cf1bdc4162f85c6b
Cr-Commit-Position: refs/heads/master@{#354055}

Powered by Google App Engine
This is Rietveld 408576698