Chromium Code Reviews
DescriptionStart action mode even if clipboard is empty
Previously clank would not call View#startActionMode for a FloatingPastePopup menu
if the copy/paste clipboard was empty (because there would be nothing in the menu).
This is a problem because apps using WebView may want to add items to the
FloatingPastePopup menu (using startActionMode) even if the clipboard is empty.
This patch makes clank call View#startActionMode and make an empty menu when there
is nothing to paste.
BUG=652916
Review-Url: https://codereview.chromium.org/2443963003
Cr-Commit-Position: refs/heads/master@{#427210}
(cherry picked from commit 31c0e1a63f0a1a09374d0c2eb441286a532789e5)
Committed: https://chromium.googlesource.com/chromium/src/+/6e75c14dbaacd7cafcb9a80f0aef1d942da19875
Patch Set 1 #
Messages
Total messages: 2 (1 generated)
|
||||||||||||||||||||||||||||