Steps to reproduce:
(1) Go to a page with and editable textfield (e.g. www.google.com);
(2) Type some text in the textfield;
(3) Double-tap on a text in textfield to select some text.
Expected result:
A word should be selected, but no vibration should happen. Vibration is for long-press text selection only. That's the standard behavior on Android platform.
Actual result:
A word is selected and the device vibrates.
Some context:
The vibration happens in ContentViewCore.java whenever selection handles are shown [1] as there is no way to distinguish between selections from long-press and double-tap. TouchSelectionController (almost) knows the cause of selection (|response_pending_input_event_|) and we probably can propagate this data to ContentViewCore.java.
[1] https://code.google.com/p/chromium/codesearch#chromium/src/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java&l=2289
Comment 1 by mfomitchev@chromium.org
, Apr 25 2016