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

Issue 216743004: Prevent system modal dialog from blocking events to the virtual keyboard. (Closed)

Created:
6 years, 9 months ago by kevers
Modified:
6 years, 8 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org, Shu Chen
Visibility:
Public.

Description

Prevent system modal dialog from blocking events to the virtual keyboard. BUG=https://code.google.com/p/chrome-os-partner/issues/detail?id=27142 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260576

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add unit test. #

Patch Set 3 : Move VK window test to root window controller. #

Total comments: 2

Patch Set 4 : Move check into loop. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -1 line) Patch
M ash/root_window_controller.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ash/root_window_controller.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M ash/root_window_controller_unittest.cc View 1 2 chunks +43 lines, -1 line 0 comments Download
M ash/shell.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
kevers
Hi Oshima, Can you please take a look at this CL.
6 years, 9 months ago (2014-03-28 15:03:47 UTC) #1
oshima
https://codereview.chromium.org/216743004/diff/1/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/216743004/diff/1/ash/shell.cc#newcode1094 ash/shell.cc:1094: if (keyboard_container && keyboard_container->Contains(window)) Will keyboard_contorller->GetContainerWindow()->Contains(window) work?
6 years, 8 months ago (2014-03-28 16:55:14 UTC) #2
oshima
On 2014/03/28 16:55:14, oshima wrote: > https://codereview.chromium.org/216743004/diff/1/ash/shell.cc > File ash/shell.cc (right): > > https://codereview.chromium.org/216743004/diff/1/ash/shell.cc#newcode1094 > ...
6 years, 8 months ago (2014-03-28 16:55:29 UTC) #3
kevers
Will add test. https://codereview.chromium.org/216743004/diff/1/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/216743004/diff/1/ash/shell.cc#newcode1094 ash/shell.cc:1094: if (keyboard_container && keyboard_container->Contains(window)) On 2014/03/28 ...
6 years, 8 months ago (2014-03-28 17:52:36 UTC) #4
oshima
(sorry for delay. I thought I hit 'publish' but apparently did not) https://codereview.chromium.org/216743004/diff/1/ash/shell.cc File ash/shell.cc ...
6 years, 8 months ago (2014-03-28 20:02:41 UTC) #5
kevers
https://codereview.chromium.org/216743004/diff/1/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/216743004/diff/1/ash/shell.cc#newcode1094 ash/shell.cc:1094: if (keyboard_container && keyboard_container->Contains(window)) On 2014/03/28 20:02:42, oshima wrote: ...
6 years, 8 months ago (2014-03-28 21:11:00 UTC) #6
oshima
lgtm with a nit https://codereview.chromium.org/216743004/diff/40001/ash/shell.cc File ash/shell.cc (right): https://codereview.chromium.org/216743004/diff/40001/ash/shell.cc#newcode1092 ash/shell.cc:1092: if (GetPrimaryRootWindowController()->IsVirtualKeyboardWindow(window)) can you move ...
6 years, 8 months ago (2014-03-28 21:49:56 UTC) #7
kevers
The CQ bit was checked by kevers@chromium.org
6 years, 8 months ago (2014-03-31 14:46:18 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kevers@chromium.org/216743004/60001
6 years, 8 months ago (2014-03-31 14:46:43 UTC) #9
commit-bot: I haz the power
Change committed as 260576
6 years, 8 months ago (2014-03-31 17:07:35 UTC) #10
kevers
6 years, 8 months ago (2014-03-31 17:21:17 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/216743004/diff/40001/ash/shell.cc
File ash/shell.cc (right):

https://codereview.chromium.org/216743004/diff/40001/ash/shell.cc#newcode1092
ash/shell.cc:1092: if
(GetPrimaryRootWindowController()->IsVirtualKeyboardWindow(window))
On 2014/03/28 21:49:56, oshima wrote:
> can you move this to the loop above? I think it's more robust because it'll
work
> even if the VK moved to another root window.

Done.

Powered by Google App Engine
This is Rietveld 408576698