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

Issue 1843433002: mash: Fix DCHECK when clicking on window close box (Closed)

Created:
4 years, 8 months ago by James Cook
Modified:
4 years, 8 months ago
Reviewers:
msw, sadrul, Hadi
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

mash: Fix DCHECK when clicking on window close box There is no pointer event equivalent for mouse event type MOUSE_CAPTURE_CHANGED and MoveEventHandler doesn't need to deal with this event type. https://codereview.chromium.org/1814533002/ caused a change in mouse event handling that caused this DCHECK to be hit. BUG=598330 TEST=mojo_runner mojo:mash_session and click the close box for any window Committed: https://crrev.com/5e8057486c37f23bfdbd1febb5fa24d36e48f19d Cr-Commit-Position: refs/heads/master@{#383858}

Patch Set 1 #

Total comments: 2

Patch Set 2 : review comments #

Total comments: 8

Patch Set 3 : review comments 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -0 lines) Patch
M mash/wm/frame/move_event_handler.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ui/events/event.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/event.cc View 1 2 3 chunks +20 lines, -0 lines 0 comments Download
M ui/events/event_unittest.cc View 1 2 1 chunk +46 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
James Cook
Hadi, please take a look.
4 years, 8 months ago (2016-03-28 21:30:07 UTC) #2
James Cook
On 2016/03/28 21:30:07, James Cook wrote: > Hadi, please take a look. Also, I didn't ...
4 years, 8 months ago (2016-03-28 21:31:23 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843433002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843433002/1
4 years, 8 months ago (2016-03-28 21:31:57 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-28 22:10:25 UTC) #7
Hadi
lgtm
4 years, 8 months ago (2016-03-29 14:44:23 UTC) #8
James Cook
msw, can I get OWNERS?
4 years, 8 months ago (2016-03-29 15:35:37 UTC) #10
msw
lgtm if needed for a temp workaround, but we need a broader fix, afaict. https://codereview.chromium.org/1843433002/diff/1/mash/wm/frame/move_event_handler.cc ...
4 years, 8 months ago (2016-03-29 15:47:40 UTC) #11
James Cook
Mike, please take another look. Sadrul, does this look like what you had in mind? ...
4 years, 8 months ago (2016-03-29 17:38:07 UTC) #13
msw
lgtm with nits https://codereview.chromium.org/1843433002/diff/20001/ui/events/event.cc File ui/events/event.cc (right): https://codereview.chromium.org/1843433002/diff/20001/ui/events/event.cc#newcode751 ui/events/event.cc:751: switch (mouse_event.type()) { nit: DCHECK CanConvertFrom ...
4 years, 8 months ago (2016-03-29 17:50:27 UTC) #14
James Cook
Mike, Sadrul, PTAL https://codereview.chromium.org/1843433002/diff/20001/ui/events/event.cc File ui/events/event.cc (right): https://codereview.chromium.org/1843433002/diff/20001/ui/events/event.cc#newcode751 ui/events/event.cc:751: switch (mouse_event.type()) { On 2016/03/29 17:50:27, ...
4 years, 8 months ago (2016-03-29 18:23:27 UTC) #15
msw
still lgtm
4 years, 8 months ago (2016-03-29 18:24:59 UTC) #16
sadrul
lgtm
4 years, 8 months ago (2016-03-29 19:29:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843433002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843433002/40001
4 years, 8 months ago (2016-03-29 20:56:16 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-03-29 23:17:08 UTC) #21
commit-bot: I haz the power
4 years, 8 months ago (2016-03-29 23:18:18 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5e8057486c37f23bfdbd1febb5fa24d36e48f19d
Cr-Commit-Position: refs/heads/master@{#383858}

Powered by Google App Engine
This is Rietveld 408576698