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

Issue 482723002: Do not hide the selection handles on tap event (Closed)

Created:
6 years, 4 months ago by raghu
Modified:
6 years, 4 months ago
Reviewers:
jdduke (slow)
CC:
chromium-reviews, darin-cc_chromium.org, jdduke+watch_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Do not hide the selection handles on tap event Currently selection handles are being hidden on tap event. But in case of tapping on image, the selection doesnt get cleared and we dont receive any bounds changed message from blink, hence selection stays but the handles are hidden. Hiding the handles on tap event is not necessary as it is already handled when the selection bounds change BUG=404625 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290814

Patch Set 1 #

Patch Set 2 : Added unit test #

Total comments: 2

Patch Set 3 : Adding period at the end of the comment #

Patch Set 4 : Rebased my patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -2 lines) Patch
M content/browser/renderer_host/input/touch_selection_controller.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/input/touch_selection_controller_unittest.cc View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
raghu
Hi Jdduke, Deactivating the Selection is already handled through OnSelectionBoundsChanged. In my opinion we dont ...
6 years, 4 months ago (2014-08-18 13:27:15 UTC) #1
jdduke (slow)
Could you add a test for this behavior (having an active selection, then tapping, then ...
6 years, 4 months ago (2014-08-18 14:53:57 UTC) #2
raghu
On 2014/08/18 14:53:57, jdduke wrote: > Could you add a test for this behavior (having ...
6 years, 4 months ago (2014-08-19 08:54:14 UTC) #3
jdduke (slow)
lgtm with nit. https://codereview.chromium.org/482723002/diff/20001/content/browser/renderer_host/input/touch_selection_controller_unittest.cc File content/browser/renderer_host/input/touch_selection_controller_unittest.cc (right): https://codereview.chromium.org/482723002/diff/20001/content/browser/renderer_host/input/touch_selection_controller_unittest.cc#newcode659 content/browser/renderer_host/input/touch_selection_controller_unittest.cc:659: // Selection should not be cleared ...
6 years, 4 months ago (2014-08-20 01:50:53 UTC) #4
raghu
Thanks https://codereview.chromium.org/482723002/diff/20001/content/browser/renderer_host/input/touch_selection_controller_unittest.cc File content/browser/renderer_host/input/touch_selection_controller_unittest.cc (right): https://codereview.chromium.org/482723002/diff/20001/content/browser/renderer_host/input/touch_selection_controller_unittest.cc#newcode659 content/browser/renderer_host/input/touch_selection_controller_unittest.cc:659: // Selection should not be cleared if the ...
6 years, 4 months ago (2014-08-20 05:02:10 UTC) #5
raghu
The CQ bit was checked by r.ghatage@samsung.com
6 years, 4 months ago (2014-08-20 05:03:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.ghatage@samsung.com/482723002/40001
6 years, 4 months ago (2014-08-20 05:04:19 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-20 05:12:52 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 05:14:27 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/43986) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/7216) ios_rel_device ...
6 years, 4 months ago (2014-08-20 05:14:28 UTC) #10
raghu
The CQ bit was checked by r.ghatage@samsung.com
6 years, 4 months ago (2014-08-20 08:20:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/r.ghatage@samsung.com/482723002/60001
6 years, 4 months ago (2014-08-20 08:22:48 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-20 10:00:12 UTC) #13
commit-bot: I haz the power
6 years, 4 months ago (2014-08-20 11:48:03 UTC) #14
Message was sent while issue was closed.
Committed patchset #4 (60001) as 290814

Powered by Google App Engine
This is Rietveld 408576698