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

Issue 2733603003: Tapping/longpressing should result in INSERTION_HANDLE_SHOWN (Closed)

Created:
3 years, 9 months ago by amaralp
Modified:
3 years, 9 months ago
Reviewers:
mohsen
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Tapping/longpressing should result in INSERTION_HANDLE_SHOWN If a touch insertion handle was visible inside of a editable text box tapping/long- pressing somewhere else in the box caused a INSERTION_HANDLE_MOVED. This CL changes it to cause a INSERTION_HANDLE_SHOWN. This is already how touch selection handles work. If there is a selection and you long-press a different select this triggers SELECTION_HANDLES_SHOWN and not SELECTION_HANDLES_MOVED. BUG=698376 Review-Url: https://codereview.chromium.org/2733603003 Cr-Commit-Position: refs/heads/master@{#455214} Committed: https://chromium.googlesource.com/chromium/src/+/f5bcdf6b4e9f48cdbac1c3621653319e573b9b58

Patch Set 1 #

Total comments: 2

Patch Set 2 : removed InsertionNotResetByRepeatedTapOrPress #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -46 lines) Patch
M ui/touch_selection/touch_selection_controller.h View 1 chunk +0 lines, -1 line 0 comments Download
M ui/touch_selection/touch_selection_controller.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ui/touch_selection/touch_selection_controller_unittest.cc View 1 2 chunks +6 lines, -44 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
amaralp
PTAL
3 years, 9 months ago (2017-03-03 22:25:45 UTC) #8
mohsen
What are the consequences of this change on touch selection behavior? In other words, what ...
3 years, 9 months ago (2017-03-06 21:57:55 UTC) #9
amaralp
On 2017/03/06 at 21:57:55, mohsen wrote: > What are the consequences of this change on ...
3 years, 9 months ago (2017-03-06 22:09:50 UTC) #10
mohsen
https://codereview.chromium.org/2733603003/diff/1/ui/touch_selection/touch_selection_controller_unittest.cc File ui/touch_selection/touch_selection_controller_unittest.cc (left): https://codereview.chromium.org/2733603003/diff/1/ui/touch_selection/touch_selection_controller_unittest.cc#oldcode485 ui/touch_selection/touch_selection_controller_unittest.cc:485: OnTapEvent(); Can you explain why this is removed. We ...
3 years, 9 months ago (2017-03-07 03:30:10 UTC) #11
amaralp
https://codereview.chromium.org/2733603003/diff/1/ui/touch_selection/touch_selection_controller_unittest.cc File ui/touch_selection/touch_selection_controller_unittest.cc (left): https://codereview.chromium.org/2733603003/diff/1/ui/touch_selection/touch_selection_controller_unittest.cc#oldcode485 ui/touch_selection/touch_selection_controller_unittest.cc:485: OnTapEvent(); On 2017/03/07 at 03:30:10, mohsen wrote: > Can ...
3 years, 9 months ago (2017-03-07 04:20:38 UTC) #14
mohsen
Thanks. LGTM
3 years, 9 months ago (2017-03-07 05:43:08 UTC) #15
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/2733603003/20001
3 years, 9 months ago (2017-03-07 18:23:14 UTC) #19
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 20:58:46 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/f5bcdf6b4e9f48cdbac1c3621653...

Powered by Google App Engine
This is Rietveld 408576698