[Nearby] Fix keyboard events in sharesheet UI.
This updates NearbyShareAction to implement content::WebContentsDelegate so that we can handle keyboard events. This was preventing users from opening the feedback window. This change also removes the need to subclass views::WebView, so NearbyShareWebView is deleted. I confirmed via manual testing that links are still working. WebViewExample was used as a reference: https://source.chromium.org/chromium/chromium/src/+/master:ui/views/examples/webview_example.h;drc=d5caa87ad320cc8ceb307f9cc525b7d4f9604dd1 Fixed: 1133817 Change-Id: Id9122ac0a92229a1ebbff66232d31d78ef2ddfcb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2597900 Commit-Queue: Michael Hansen <hansenmichael@google.com> Reviewed-by:Josh Nohle <nohle@chromium.org> Cr-Commit-Position: refs/heads/master@{#838735}
Showing
Please register or sign in to comment