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

Issue 2891693002: Make mouse drag to ignore unfocused selection (Closed)

Created:
3 years, 7 months ago by yosin_UTC9
Modified:
3 years, 7 months ago
CC:
blink-reviews, chromium-reviews, dcheng
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make mouse drag to ignore unfocused selection This patch makes |SelectionController::UpdateSelectionForMouseDrag()| to ignore unfocused selection to make mouse dragging not to change unfocused selection. This patch updates "drag_user_select_none.html" to expect that there are no selection when starting from "user-select:none". BUG=481985, 714000 TEST=run_layout_test editing/input/drag_in_unselectable.html Review-Url: https://codereview.chromium.org/2891693002 Cr-Commit-Position: refs/heads/master@{#473130} Committed: https://chromium.googlesource.com/chromium/src/+/d541129f1b272eb3e611b59b5e12dd0be0a4ba58

Patch Set 1 : 2017-05-17T14:55:08 #

Patch Set 2 : 2017-05-17T16:41:10 #

Total comments: 8

Patch Set 3 : 2017-05-17T18:53:32 #

Total comments: 6

Patch Set 4 : 2017-05-19T15:07:18 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -6 lines) Patch
A third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/selection/mouse/drag_user_select_none.html View 1 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 37 (25 generated)
hugoh_UTC2
https://codereview.chromium.org/2891693002/diff/20001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html File third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html (right): https://codereview.chromium.org/2891693002/diff/20001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html#newcode14 third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html:14: <body> Nit: Maybe add a <input> and test that ...
3 years, 7 months ago (2017-05-17 08:15:57 UTC) #11
yosin_UTC9
PTAL https://codereview.chromium.org/2891693002/diff/20001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html File third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html (right): https://codereview.chromium.org/2891693002/diff/20001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html#newcode14 third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html:14: <body> On 2017/05/17 at 08:15:57, hugoh_UTC2 wrote: > ...
3 years, 7 months ago (2017-05-17 09:55:23 UTC) #17
Xiaocheng
+lanwei for usage of pointerActionSequence https://codereview.chromium.org/2891693002/diff/40001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html File third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html (right): https://codereview.chromium.org/2891693002/diff/40001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html#newcode40 third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html:40: chrome.gpuBenchmarking.pointerActionSequence( lanwei@: This test ...
3 years, 7 months ago (2017-05-17 18:32:24 UTC) #21
lanwei
On 2017/05/17 18:32:24, Xiaocheng wrote: > +lanwei for usage of pointerActionSequence > > https://codereview.chromium.org/2891693002/diff/40001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html > ...
3 years, 7 months ago (2017-05-17 18:44:38 UTC) #22
lanwei
On 2017/05/17 18:44:38, lanwei wrote: > On 2017/05/17 18:32:24, Xiaocheng wrote: > > +lanwei for ...
3 years, 7 months ago (2017-05-17 18:52:21 UTC) #23
Xiaocheng
On 2017/05/17 at 18:52:21, lanwei wrote: > On 2017/05/17 18:44:38, lanwei wrote: > > On ...
3 years, 7 months ago (2017-05-17 19:14:35 UTC) #24
yosin_UTC9
https://codereview.chromium.org/2891693002/diff/40001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html File third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html (right): https://codereview.chromium.org/2891693002/diff/40001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html#newcode40 third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html:40: chrome.gpuBenchmarking.pointerActionSequence( On 2017/05/17 at 18:32:24, Xiaocheng wrote: > lanwei@: ...
3 years, 7 months ago (2017-05-18 01:25:13 UTC) #25
yoichio
https://codereview.chromium.org/2891693002/diff/40001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html File third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html (right): https://codereview.chromium.org/2891693002/diff/40001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html#newcode40 third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html:40: chrome.gpuBenchmarking.pointerActionSequence( Could you confirm dragging by listening mousemove event ...
3 years, 7 months ago (2017-05-18 01:47:02 UTC) #26
yosin_UTC9
PTAL Update a test script. https://codereview.chromium.org/2891693002/diff/40001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html File third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html (right): https://codereview.chromium.org/2891693002/diff/40001/third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html#newcode40 third_party/WebKit/LayoutTests/editing/input/drag_in_unselectable.html:40: chrome.gpuBenchmarking.pointerActionSequence( On 2017/05/18 at ...
3 years, 7 months ago (2017-05-19 06:10:37 UTC) #29
yoichio
lgtm
3 years, 7 months ago (2017-05-19 08:32:06 UTC) #32
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/2891693002/60001
3 years, 7 months ago (2017-05-19 08:37:48 UTC) #34
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 08:42:20 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d541129f1b272eb3e611b59b5e12...

Powered by Google App Engine
This is Rietveld 408576698