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

Issue 1998323002: EventDispatcher shouldn't always cancel on a hierarchy change (Closed)

Created:
4 years, 7 months ago by sky
Modified:
4 years, 7 months ago
Reviewers:
jonross
CC:
chromium-reviews, rjkroege
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

EventDispatcher shouldn't always cancel on a hierarchy change Currently when a window is moved to a different parent we cancel events. This is problematic for window dragging as we want to reparent the window to ensure it's stacked on top of other windows. The fix here isn't ideal, but I'm going to address the bigger issue as part of 613646. BUG=613646 TEST=covered by test R=jonross@chromium.org Committed: https://crrev.com/b863e7efb7ffcb6be025385c11d61b4b70b9ceee Cr-Commit-Position: refs/heads/master@{#395145}

Patch Set 1 #

Total comments: 2

Patch Set 2 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -1 line) Patch
M components/mus/ws/event_dispatcher.cc View 1 chunk +12 lines, -1 line 0 comments Download
M components/mus/ws/event_dispatcher_unittest.cc View 1 1 chunk +34 lines, -0 lines 0 comments Download
M components/mus/ws/server_window_surface_manager_test_api.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/mus/ws/server_window_surface_manager_test_api.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M components/mus/ws/test_utils.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
sky
4 years, 7 months ago (2016-05-20 18:27:07 UTC) #1
jonross
On 2016/05/20 18:27:07, sky wrote: LGTM with minor nit
4 years, 7 months ago (2016-05-20 18:55:30 UTC) #2
sky
Did the nit not make it? On Fri, May 20, 2016 at 11:55 AM, <jonross@chromium.org> ...
4 years, 7 months ago (2016-05-20 19:11:47 UTC) #3
jonross
https://codereview.chromium.org/1998323002/diff/1/components/mus/ws/event_dispatcher_unittest.cc File components/mus/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/1998323002/diff/1/components/mus/ws/event_dispatcher_unittest.cc#newcode1534 components/mus/ws/event_dispatcher_unittest.cc:1534: // Move |w11| to |w2| and verify the mouse ...
4 years, 7 months ago (2016-05-20 19:14:07 UTC) #4
sky
https://codereview.chromium.org/1998323002/diff/1/components/mus/ws/event_dispatcher_unittest.cc File components/mus/ws/event_dispatcher_unittest.cc (right): https://codereview.chromium.org/1998323002/diff/1/components/mus/ws/event_dispatcher_unittest.cc#newcode1534 components/mus/ws/event_dispatcher_unittest.cc:1534: // Move |w11| to |w2| and verify the mouse ...
4 years, 7 months ago (2016-05-20 19:25:20 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998323002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998323002/20001
4 years, 7 months ago (2016-05-20 19:26:10 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-20 20:01:16 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 20:03:12 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b863e7efb7ffcb6be025385c11d61b4b70b9ceee
Cr-Commit-Position: refs/heads/master@{#395145}

Powered by Google App Engine
This is Rietveld 408576698