weblayer: Add API to override action mode onclick
Add an API that allows client to declare the action mode items it wants to override. When overridden, the selected text is passed to the client and whatever the default action in weblayer does not happen. Currently only support search and share since they are always enabled. Bug: b/159070012 Change-Id: Ibabc253a9d990fbf4c1746fd402068df4aeafff2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463989Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#815872}
Showing
Please register or sign in to comment