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

Issue 778043004: Set capture to the window being dragged when dragging a window on Ash (Closed)

Created:
6 years ago by pkotwicz
Modified:
6 years ago
CC:
chromium-reviews, kalyank
Base URL:
https://chromium.googlesource.com/chromium/src.git@fix_capture
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set capture to the window being dragged when dragging a window on Ash This CL sets capture to the window being dragged when dragging a window on Ash. This allows state to be reset when a user opens the Ctrl+Alt+Delete dialog on Windows Ash. As a side effect, this CL fixes dragging windows from one screen to another on ChromeOS ozone. Dragging windows from one screen to another worked on X11 because X11 does an implicit grab when the mouse is pressed. This implicit grab guarantees that events are sent to WindowTreeHost where the drag started for the duration of the drag. BUG=439703, 423383 TEST=None Committed: https://crrev.com/4882310f75d0a578c068b92dc2eaf163d761c03a Cr-Commit-Position: refs/heads/master@{#309364}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -40 lines) Patch
M ash/wm/system_gesture_event_filter_unittest.cc View 1 2 1 chunk +0 lines, -35 lines 0 comments Download
M ash/wm/toplevel_window_event_handler.cc View 2 chunks +18 lines, -5 lines 0 comments Download

Messages

Total messages: 25 (7 generated)
pkotwicz
lionel@ PTAL https://codereview.chromium.org/778043004/diff/1/ui/aura/window_tree_host_ozone.cc File ui/aura/window_tree_host_ozone.cc (right): https://codereview.chromium.org/778043004/diff/1/ui/aura/window_tree_host_ozone.cc#newcode89 ui/aura/window_tree_host_ozone.cc:89: //platform_window_->SetCapture(); I have commented this out to ...
6 years ago (2014-12-08 20:05:18 UTC) #2
llandwerlin-old
On 2014/12/08 20:05:18, pkotwicz wrote: > lionel@ PTAL > > https://codereview.chromium.org/778043004/diff/1/ui/aura/window_tree_host_ozone.cc > File ui/aura/window_tree_host_ozone.cc (right): ...
6 years ago (2014-12-10 15:40:42 UTC) #3
pkotwicz
llandwerlin@ can you please take another look? Thanks for noticing the problem. I investigated and ...
6 years ago (2014-12-11 01:48:42 UTC) #4
llandwerlin-old
On 2014/12/11 01:48:42, pkotwicz wrote: > llandwerlin@ can you please take another look? > > ...
6 years ago (2014-12-13 15:44:05 UTC) #5
pkotwicz
flackr@ can you please take a look?
6 years ago (2014-12-16 17:03:18 UTC) #7
flackr
https://codereview.chromium.org/778043004/diff/20001/ash/wm/toplevel_window_event_handler.cc File ash/wm/toplevel_window_event_handler.cc (right): https://codereview.chromium.org/778043004/diff/20001/ash/wm/toplevel_window_event_handler.cc#newcode129 ash/wm/toplevel_window_event_handler.cc:129: if (!target->HasCapture()) { If this is to accomodate X11 ...
6 years ago (2014-12-16 21:28:21 UTC) #8
pkotwicz
Rob, can you please take another look? https://codereview.chromium.org/778043004/diff/20001/ash/wm/toplevel_window_event_handler.cc File ash/wm/toplevel_window_event_handler.cc (right): https://codereview.chromium.org/778043004/diff/20001/ash/wm/toplevel_window_event_handler.cc#newcode129 ash/wm/toplevel_window_event_handler.cc:129: if (!target->HasCapture()) ...
6 years ago (2014-12-17 04:48:12 UTC) #9
pkotwicz
https://codereview.chromium.org/778043004/diff/20001/ash/wm/toplevel_window_event_handler.cc File ash/wm/toplevel_window_event_handler.cc (right): https://codereview.chromium.org/778043004/diff/20001/ash/wm/toplevel_window_event_handler.cc#newcode131 ash/wm/toplevel_window_event_handler.cc:131: target->SetCapture(); Actually, we already pay attention to loss of ...
6 years ago (2014-12-17 05:18:36 UTC) #10
flackr
lgtm https://codereview.chromium.org/778043004/diff/20001/ash/wm/toplevel_window_event_handler.cc File ash/wm/toplevel_window_event_handler.cc (right): https://codereview.chromium.org/778043004/diff/20001/ash/wm/toplevel_window_event_handler.cc#newcode129 ash/wm/toplevel_window_event_handler.cc:129: if (!target->HasCapture()) { On 2014/12/17 04:48:12, pkotwicz wrote: ...
6 years ago (2014-12-17 19:39:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/778043004/20001
6 years ago (2014-12-17 20:00:25 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/8867)
6 years ago (2014-12-17 20:53:44 UTC) #15
pkotwicz
Sadrul, can you please take a look at the deletion of SystemGestureEventFilterTest.TwoFingerDragTwoWindows I deleted the ...
6 years ago (2014-12-19 00:38:26 UTC) #17
sadrul
On 2014/12/19 00:38:26, pkotwicz wrote: > Sadrul, can you please take a look at the ...
6 years ago (2014-12-19 02:22:38 UTC) #19
pkotwicz
With this CL, when a third finger is added anywhere on screen while a window ...
6 years ago (2014-12-20 20:35:05 UTC) #20
pkotwicz
With this CL, when a third finger is added anywhere on screen while a window ...
6 years ago (2014-12-20 20:35:07 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/778043004/60001
6 years ago (2014-12-20 20:35:26 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:60001)
6 years ago (2014-12-20 22:10:46 UTC) #24
commit-bot: I haz the power
6 years ago (2014-12-20 22:11:39 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4882310f75d0a578c068b92dc2eaf163d761c03a
Cr-Commit-Position: refs/heads/master@{#309364}

Powered by Google App Engine
This is Rietveld 408576698