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

Issue 1259593010: Fix issue with longpress drag selection motion (Closed)

Created:
5 years, 4 months ago by jdduke (slow)
Modified:
5 years, 4 months ago
Reviewers:
CC:
chromium-reviews, dcheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@2454
Target Ref:
refs/pending/branch-heads/2454
Project:
chromium
Visibility:
Public.

Description

Fix issue with longpress drag selection motion If the user has already dragged outside the initial selected word region by the time the browser gets a selection update, or if the selected word isn't coincident with the longpress location, the subsequently dragged selection endpoint can be wrong. For such cases, rather than using the drag direction for drag anchor picking, just use the distance between the current touch point and the selection endpoints. BUG=466749 Review URL: https://codereview.chromium.org/1271823002 Cr-Commit-Position: refs/heads/master@{#341791} (cherry picked from commit a188bd6dff9c2a0425d1f31e3ab929c373762d83) Committed: https://chromium.googlesource.com/chromium/src/+/5e1e7b4ddecf1f57f16bdbe936e7bd0eaddf9b0b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -12 lines) Patch
M ui/touch_selection/longpress_drag_selector.cc View 2 chunks +24 lines, -11 lines 0 comments Download
M ui/touch_selection/longpress_drag_selector_unittest.cc View 2 chunks +35 lines, -1 line 0 comments Download

Messages

Total messages: 1 (0 generated)
jdduke (slow)
5 years, 4 months ago (2015-08-04 23:51:32 UTC) #1
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
5e1e7b4ddecf1f57f16bdbe936e7bd0eaddf9b0b.

Powered by Google App Engine
This is Rietveld 408576698