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

Issue 2127263002: Keep the SystemModalContainerEventHandler added (Closed)

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

Description

Keep the SystemModalContainerEventHandler added, and check the modality in the event handler, instead of adding/removing the event handler. Ensures that pointer/touch events on Arc windows are not registered when a system modal is open. BUG=624168 TEST=PointerTest.IgnorePointerEventDuringModal,TouchTest.IgnoreTouchEventDuringModal Committed: https://crrev.com/0dd03dd13d630af3457d4f43beead3b83e95956a Cr-Commit-Position: refs/heads/master@{#405632}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Ignore touch/pointer events on Arc windows if modal open #

Total comments: 6

Patch Set 3 : Ignore touch/pointer events on Arc windows if modal open #

Total comments: 17

Patch Set 4 : Ignore touch/pointer events on Arc windows if modal open #

Patch Set 5 : Ignore touch/pointer events on Arc windows if modal open #

Total comments: 1

Patch Set 6 : Keep the SystemModalContainerEventHandler added #

Unified diffs Side-by-side diffs Delta from patch set Stats (+252 lines, -8 lines) Patch
M ash/shell.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/shell.cc View 1 2 3 4 5 5 chunks +5 lines, -6 lines 0 comments Download
M ash/wm/system_modal_container_event_filter.cc View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M components/exo/pointer_unittest.cc View 1 2 3 2 chunks +160 lines, -0 lines 0 comments Download
M components/exo/touch_unittest.cc View 1 2 3 2 chunks +82 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (17 generated)
oshima
https://codereview.chromium.org/2127263002/diff/1/ash/shell.h File ash/shell.h (right): https://codereview.chromium.org/2127263002/diff/1/ash/shell.h#newcode530 ash/shell.h:530: // ash::SystemModalContainerEventFilterDelegate overrides: nit: // SystemModalContainerEventFilterDelegate: (it's new style) ...
4 years, 5 months ago (2016-07-07 22:01:18 UTC) #3
oshima
https://codereview.chromium.org/2127263002/diff/1/components/exo/touch_unittest.cc File components/exo/touch_unittest.cc (right): https://codereview.chromium.org/2127263002/diff/1/components/exo/touch_unittest.cc#newcode217 components/exo/touch_unittest.cc:217: // Open modal. ditto. https://codereview.chromium.org/2127263002/diff/1/components/exo/touch_unittest.cc#newcode235 components/exo/touch_unittest.cc:235: EXPECT_CALL(delegate, OnTouchDestroying(touch.get())); ditto. ...
4 years, 5 months ago (2016-07-08 17:23:21 UTC) #4
oshima
4 years, 5 months ago (2016-07-08 17:23:23 UTC) #5
oshima
https://codereview.chromium.org/2127263002/diff/20001/components/exo/pointer_unittest.cc File components/exo/pointer_unittest.cc (right): https://codereview.chromium.org/2127263002/diff/20001/components/exo/pointer_unittest.cc#newcode303 components/exo/pointer_unittest.cc:303: surface->window()->GetBoundsInScreen().origin() + gfx::Vector2d(1, 1); since this is used only ...
4 years, 5 months ago (2016-07-08 21:26:52 UTC) #6
hariank
https://codereview.chromium.org/2127263002/diff/20001/components/exo/pointer_unittest.cc File components/exo/pointer_unittest.cc (right): https://codereview.chromium.org/2127263002/diff/20001/components/exo/pointer_unittest.cc#newcode303 components/exo/pointer_unittest.cc:303: surface->window()->GetBoundsInScreen().origin() + gfx::Vector2d(1, 1); On 2016/07/08 21:26:51, oshima wrote: ...
4 years, 5 months ago (2016-07-08 22:47:07 UTC) #7
oshima
lgtm
4 years, 5 months ago (2016-07-08 23:16:43 UTC) #10
oshima
Forgot to mention. I'm not the owner of exo. Please send it to reveman@ as ...
4 years, 5 months ago (2016-07-08 23:17:27 UTC) #11
reveman
https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc#newcode128 components/exo/pointer.cc:128: if (!ash::Shell::GetInstance()->CanWindowReceiveEvents( Can you add a short comment above ...
4 years, 5 months ago (2016-07-13 18:55:09 UTC) #15
oshima
https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc#newcode126 components/exo/pointer.cc:126: Surface* target = GetEffectiveTargetForEvent(event); can you move this after ...
4 years, 5 months ago (2016-07-13 21:34:00 UTC) #16
hariank
https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc#newcode126 components/exo/pointer.cc:126: Surface* target = GetEffectiveTargetForEvent(event); On 2016/07/13 21:34:00, oshima wrote: ...
4 years, 5 months ago (2016-07-13 23:27:22 UTC) #17
reveman
https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc#newcode130 components/exo/pointer.cc:130: event->StopPropagation(); On 2016/07/13 at 21:34:00, oshima wrote: > On ...
4 years, 5 months ago (2016-07-14 11:15:40 UTC) #18
oshima
https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc#newcode130 components/exo/pointer.cc:130: event->StopPropagation(); On 2016/07/14 11:15:40, reveman wrote: > On 2016/07/13 ...
4 years, 5 months ago (2016-07-14 12:21:27 UTC) #19
reveman
https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc#newcode130 components/exo/pointer.cc:130: event->StopPropagation(); On 2016/07/14 at 12:21:27, oshima wrote: > On ...
4 years, 5 months ago (2016-07-14 13:59:50 UTC) #20
oshima
https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2127263002/diff/40001/components/exo/pointer.cc#newcode130 components/exo/pointer.cc:130: event->StopPropagation(); On 2016/07/14 13:59:49, reveman wrote: > On 2016/07/14 ...
4 years, 5 months ago (2016-07-14 14:38:27 UTC) #21
oshima
lgtm could you please update the CL description as well? It should be something like ...
4 years, 5 months ago (2016-07-14 21:49:42 UTC) #26
reveman
components/exo lgtm
4 years, 5 months ago (2016-07-14 22:09:13 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2127263002/100001
4 years, 5 months ago (2016-07-14 22:32:27 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-14 23:47:48 UTC) #34
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-14 23:48:01 UTC) #35
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 23:48:59 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/0dd03dd13d630af3457d4f43beead3b83e95956a
Cr-Commit-Position: refs/heads/master@{#405632}

Powered by Google App Engine
This is Rietveld 408576698