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

Issue 467303002: [Android] Perform haptic feedback after long press when appropriate (Closed)

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

Description

[Android] Perform haptic feedback after long press when appropriate Tentatively trigger haptic feedback when ContentViewCore is directed to show the the paste popup. While there are no guarantees that such a commend was triggered by a long press gesture, it should still be a usability improvement. Also trigger feedback when the selection is updated via a repeated long press gesture. BUG=150151, 399619 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290107

Patch Set 1 #

Patch Set 2 : Update comment #

Patch Set 3 : Feedback with repeated long press #

Total comments: 4

Patch Set 4 : Hard event reset and refactor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -13 lines) Patch
M content/browser/android/content_view_core_impl.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/touch_selection_controller.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/touch_selection_controller.cc View 1 2 3 8 chunks +23 lines, -7 lines 0 comments Download
M content/browser/renderer_host/input/touch_selection_controller_unittest.cc View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 1 chunk +11 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jdduke (slow)
cjhopman@: What do you think?
6 years, 4 months ago (2014-08-13 15:57:32 UTC) #1
jdduke (slow)
On 2014/08/13 15:57:32, jdduke wrote: > cjhopman@: What do you think? Hmm, I went ahead ...
6 years, 4 months ago (2014-08-13 18:37:10 UTC) #2
cjhopman
https://codereview.chromium.org/467303002/diff/40001/content/browser/renderer_host/input/touch_selection_controller.cc File content/browser/renderer_host/input/touch_selection_controller.cc (right): https://codereview.chromium.org/467303002/diff/40001/content/browser/renderer_host/input/touch_selection_controller.cc#newcode332 content/browser/renderer_host/input/touch_selection_controller.cc:332: if (!is_selection_active_ || last_input_event_type_ == LONG_PRESS) { Maybe there's ...
6 years, 4 months ago (2014-08-14 00:12:28 UTC) #3
jdduke (slow)
https://codereview.chromium.org/467303002/diff/40001/content/browser/renderer_host/input/touch_selection_controller.cc File content/browser/renderer_host/input/touch_selection_controller.cc (right): https://codereview.chromium.org/467303002/diff/40001/content/browser/renderer_host/input/touch_selection_controller.cc#newcode332 content/browser/renderer_host/input/touch_selection_controller.cc:332: if (!is_selection_active_ || last_input_event_type_ == LONG_PRESS) { On 2014/08/14 ...
6 years, 4 months ago (2014-08-14 17:57:19 UTC) #4
cjhopman
lgtm
6 years, 4 months ago (2014-08-15 22:14:33 UTC) #5
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 4 months ago (2014-08-15 22:15:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/467303002/100001
6 years, 4 months ago (2014-08-15 22:16:18 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-16 06:17:23 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (100001) as 290107

Powered by Google App Engine
This is Rietveld 408576698