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

Issue 2737003002: Fix event targeting for sub-windows of system modal windows in mus+ash. (Closed)

Created:
3 years, 9 months ago by Hadi
Modified:
3 years, 9 months ago
Reviewers:
sky, mohsen
CC:
chromium-reviews, rjkroege
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix event targeting for sub-windows of system modal windows in mus+ash. If a non-client frame is set to a system modal, its embedded sub-window should be able to receive events. For example, creating a JS alert() creates a non-client frame and sets it to MODAL_TYPE_SYSTEM. Previously users couldn't click on the OK inside the client window since all events were routed to the non-client frame. BUG=699213 Review-Url: https://codereview.chromium.org/2737003002 Cr-Commit-Position: refs/heads/master@{#456058} Committed: https://chromium.googlesource.com/chromium/src/+/5f8a6330d36c11874bb8aaf136f3ea4e508ae8ee

Patch Set 1 #

Patch Set 2 : Add a test. #

Total comments: 6

Patch Set 3 : Addressed feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -4 lines) Patch
M services/ui/ws/event_dispatcher_unittest.cc View 1 2 1 chunk +49 lines, -0 lines 0 comments Download
M services/ui/ws/modal_window_controller.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (17 generated)
Hadi
PTAL.
3 years, 9 months ago (2017-03-09 20:37:24 UTC) #12
sky
LGTM https://codereview.chromium.org/2737003002/diff/20001/services/ui/ws/event_dispatcher_unittest.cc File services/ui/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/2737003002/diff/20001/services/ui/ws/event_dispatcher_unittest.cc#newcode1568 services/ui/ws/event_dispatcher_unittest.cc:1568: auto w1 = CreateChildWindow(WindowId(1, 3)); excessive use of ...
3 years, 9 months ago (2017-03-09 23:23:26 UTC) #15
Hadi
https://codereview.chromium.org/2737003002/diff/20001/services/ui/ws/event_dispatcher_unittest.cc File services/ui/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/2737003002/diff/20001/services/ui/ws/event_dispatcher_unittest.cc#newcode1568 services/ui/ws/event_dispatcher_unittest.cc:1568: auto w1 = CreateChildWindow(WindowId(1, 3)); On 2017/03/09 23:23:26, sky ...
3 years, 9 months ago (2017-03-10 14:02:38 UTC) #16
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/2737003002/40001
3 years, 9 months ago (2017-03-10 14:02:48 UTC) #19
commit-bot: I haz the power
3 years, 9 months ago (2017-03-10 14:51:46 UTC) #22
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/5f8a6330d36c11874bb8aaf136f3...

Powered by Google App Engine
This is Rietveld 408576698