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

Issue 354343002: [M-37]: Fix dragging tab via mouse when touch is down on ChromeOS (Closed)

Created:
6 years, 5 months ago by pkotwicz
Modified:
6 years, 5 months ago
Reviewers:
varkha, oshima
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Project:
chromium
Visibility:
Public.

Description

[M-37]: Fix dragging tab via mouse when touch is down on ChromeOS Do not change value of |ToplevelWindowEventHandler::drag_reverted_| if ET_MOUSE_CAPTURE_CHANGED is received after ET_MOUSE_RELEASED but before the move loop has ended. This is currently the case with views::Widget. This CL does not fix all of the possible places where CompleteDrag() may be called after the drag was completed for the sake of being easier to merge back to M-37 BUG=380481 TEST=ToplevelWindowEventHandlerTest.CaptureLossAfterMouseRelease Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281448

Patch Set 1 : #

Total comments: 8

Patch Set 2 : #

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

Messages

Total messages: 13 (0 generated)
pkotwicz
Oshima, can you please take a look? https://codereview.chromium.org/354343002/diff/40001/ash/wm/toplevel_window_event_handler.cc File ash/wm/toplevel_window_event_handler.cc (right): https://codereview.chromium.org/354343002/diff/40001/ash/wm/toplevel_window_event_handler.cc#newcode497 ash/wm/toplevel_window_event_handler.cc:497: if (window_resizer_) ...
6 years, 5 months ago (2014-06-28 18:37:36 UTC) #1
pkotwicz
Oshima, can you please take a look?
6 years, 5 months ago (2014-06-28 18:41:27 UTC) #2
pkotwicz
https://codereview.chromium.org/354343002/diff/40001/ash/wm/toplevel_window_event_handler.cc File ash/wm/toplevel_window_event_handler.cc (right): https://codereview.chromium.org/354343002/diff/40001/ash/wm/toplevel_window_event_handler.cc#newcode486 ash/wm/toplevel_window_event_handler.cc:486: } else { We should also avoid calling CompleteDrag() ...
6 years, 5 months ago (2014-06-29 16:00:40 UTC) #3
oshima
lgtm with one q https://codereview.chromium.org/354343002/diff/40001/ash/wm/toplevel_window_event_handler.cc File ash/wm/toplevel_window_event_handler.cc (right): https://codereview.chromium.org/354343002/diff/40001/ash/wm/toplevel_window_event_handler.cc#newcode486 ash/wm/toplevel_window_event_handler.cc:486: } else { On 2014/06/29 ...
6 years, 5 months ago (2014-07-01 17:52:01 UTC) #4
pkotwicz
https://codereview.chromium.org/354343002/diff/40001/ash/wm/toplevel_window_event_handler.cc File ash/wm/toplevel_window_event_handler.cc (right): https://codereview.chromium.org/354343002/diff/40001/ash/wm/toplevel_window_event_handler.cc#newcode486 ash/wm/toplevel_window_event_handler.cc:486: } else { I wanted to keep the CL ...
6 years, 5 months ago (2014-07-04 14:28:41 UTC) #5
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-04 14:28:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/354343002/40001
6 years, 5 months ago (2014-07-04 14:29:17 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device on tryserver.chromium ...
6 years, 5 months ago (2014-07-04 16:18:49 UTC) #8
pkotwicz
The CQ bit was checked by pkotwicz@chromium.org
6 years, 5 months ago (2014-07-04 20:41:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/354343002/60001
6 years, 5 months ago (2014-07-04 20:41:21 UTC) #10
commit-bot: I haz the power
Change committed as 281448
6 years, 5 months ago (2014-07-04 22:21:32 UTC) #11
varkha
Sorry, just noticed that this nit comment was drafted but not sent. Please see if ...
6 years, 5 months ago (2014-07-04 23:09:01 UTC) #12
pkotwicz
6 years, 5 months ago (2014-07-05 16:04:10 UTC) #13
Message was sent while issue was closed.
Valery, please see https://codereview.chromium.org/345133005/ which is part #2

Powered by Google App Engine
This is Rietveld 408576698