DescriptionFix long press touch selection on empty text fields
Desired behavior when long press happens on an empty text field is to
activate touch selection and show the quick menu if there is anything
available to show in the quick menu. Otherwise, the regular context menu
should be shown. This was regressed due to changes in context menu
source type that added LONG_PRESS and LONG_TAP types. In addition to
fixing this regression, this CL fixes the regression on the new tab page
that shows an incorrectly placed quick menu instead of the context menu.
BUG=594101
Committed: https://crrev.com/41355a89adc05a40f8d6eb1e60a600edb02f8de1
Cr-Commit-Position: refs/heads/master@{#407059}
Patch Set 1 #Patch Set 2 : Added a test #
Total comments: 2
Patch Set 3 : EmptyTextfield -> ClearTextfield #
Depends on Patchset: Messages
Total messages: 21 (12 generated)
|