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

Issue 872083002: Ease selection dragging between large/small text lines (Closed)

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

Description

Ease selection dragging between large/small text lines Previously, the coordinate sent for adjusting the text selection was offset from the line by half the line height. The side effect is that dragging up/down from large lines, particularly to smaller lines, was difficult, and sometimes even impossible. Resolve this by using the smaller of fixed size offset and half the line height. This eases dragging the selection bounds between lines that differ greatly in size. BUG=450640 Committed: https://crrev.com/dd0f0e5da45ede84f56f7d50aee23ab13a1b96f2 Cr-Commit-Position: refs/heads/master@{#312982}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -3 lines) Patch
M ui/touch_selection/touch_selection_controller.cc View 3 chunks +15 lines, -3 lines 0 comments Download
M ui/touch_selection/touch_selection_controller_unittest.cc View 1 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
jdduke (slow)
mohsen@: PTAL, thanks.
5 years, 11 months ago (2015-01-23 22:23:09 UTC) #2
jdduke (slow)
Or mfomitchev@ if you've already looked at this, feel free to review, thanks.
5 years, 11 months ago (2015-01-23 23:17:00 UTC) #4
mohsen
LGTM https://codereview.chromium.org/872083002/diff/1/ui/touch_selection/touch_selection_controller_unittest.cc File ui/touch_selection/touch_selection_controller_unittest.cc (right): https://codereview.chromium.org/872083002/diff/1/ui/touch_selection/touch_selection_controller_unittest.cc#newcode752 ui/touch_selection/touch_selection_controller_unittest.cc:752: // The drag coordinate for large lines should ...
5 years, 11 months ago (2015-01-23 23:35:07 UTC) #5
jdduke (slow)
https://codereview.chromium.org/872083002/diff/1/ui/touch_selection/touch_selection_controller_unittest.cc File ui/touch_selection/touch_selection_controller_unittest.cc (right): https://codereview.chromium.org/872083002/diff/1/ui/touch_selection/touch_selection_controller_unittest.cc#newcode752 ui/touch_selection/touch_selection_controller_unittest.cc:752: // The drag coordinate for large lines should have ...
5 years, 11 months ago (2015-01-23 23:55:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/872083002/20001
5 years, 11 months ago (2015-01-23 23:56:50 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2015-01-24 00:44:25 UTC) #9
commit-bot: I haz the power
5 years, 11 months ago (2015-01-24 00:45:24 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dd0f0e5da45ede84f56f7d50aee23ab13a1b96f2
Cr-Commit-Position: refs/heads/master@{#312982}

Powered by Google App Engine
This is Rietveld 408576698