[iOS] Disable share menu when overlays are presented.
The share menu requires JavaScript execution to capture the page's canonical URL, but script execution is halted when JavaScript dialogs are running. This CL adds ToolbarMediator as an OverlayPresenterObserver and disables the button when a overlays are displayed in OverlayModality::kWebContentArea. Fixed: 987247 Change-Id: Ia09b9eb5e9e734e4d25252aee236acf46a6d81c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2256230 Commit-Queue: Gauthier Ambard <gambard@chromium.org> Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Auto-Submit: Gauthier Ambard <gambard@chromium.org> Reviewed-by:Chris Lu <thegreenfrog@chromium.org> Cr-Commit-Position: refs/heads/master@{#780800}
Showing
Please register or sign in to comment