Improve WebView multi-window UX (#2662)

- Navigation history for lower windows is preserved when a popup is opened
- Back gesture will close a popup window rather than the entire WebView activity when there is no previous page
- The leftmost close button closes the entire activity as before
- When a popup window is shown, a new button appears to close just that window
This commit is contained in:
Trevor Paley
2025-11-07 01:26:04 -08:00
committed by GitHub
parent f4703ed83a
commit 855eea2ada
4 changed files with 51 additions and 18 deletions

View File

@@ -164,6 +164,7 @@
<string name="action_webview_back">Back</string>
<string name="action_webview_forward">Forward</string>
<string name="action_webview_refresh">Refresh</string>
<string name="action_webview_close_tab">Close tab</string>
<string name="action_start_downloading_now">Start downloading now</string>
<string name="action_not_now">Not now</string>
<string name="action_add_anyway">Add anyway</string>