
This reverts commit 419b56c881
.
Reason for revert: Suspected culprit for ExtensionApiTest.ConfirmQueue failure.
https://ci.chromium.org/ui/p/chromium/builders/ci/Mac%20ASan%2064%20Tests%20(1)/71021
Original change's description:
> MacPWAs: Add hide option to beforeUnload dialog
>
> Add a new AppModalDialogController::Type to consolidate the various
> bools for reload, unload, etc. Add an option for a "hide or quit"
> dialog. Add a function to control setting this that just returns
> false for now.
>
> The new UI has the text "Quit $APP?", instead of "Leave app".
> To TabModalDialogManagerDelegate, add a GetAppName method to retrieve
> the app name to populate the $APP string.
>
> Bug: 1225716
> Change-Id: I30833a787e4cede497682fc29f74169fc55823e8
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3065472
> Reviewed-by: Robert Sesek <rsesek@chromium.org>
> Reviewed-by: John Abd-El-Malek <jam@chromium.org>
> Reviewed-by: Avi Drissman <avi@chromium.org>
> Commit-Queue: ccameron <ccameron@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#910881}
Bug: 1225716
Change-Id: I2ef8b81223d76d540f1526ea7e79cd6ba0d69630
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3089124
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Owners-Override: Morten Stenshorne <mstensho@chromium.org>
Auto-Submit: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#911247}
48 lines
2.5 KiB
XML
48 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<grit-part>
|
|
|
|
<!-- JavaScript Dialog Box strings -->
|
|
<message name="IDS_JAVASCRIPT_MESSAGEBOX_TITLE" desc="Title for JavaScript prompt and confirm originating from a webpage">
|
|
<ph name="SITE">$1<ex>http://www.google.com</ex></ph> says
|
|
</message>
|
|
<message name="IDS_JAVASCRIPT_MESSAGEBOX_TITLE_IFRAME" desc="Title for JavaScript prompt and confirm originating from an iframe inside the webpage">
|
|
An embedded page at <ph name="SITE">$1<ex>http://www.google.com</ex></ph> says
|
|
</message>
|
|
<message name="IDS_JAVASCRIPT_MESSAGEBOX_TITLE_NONSTANDARD_URL" desc="Title for JavaScript prompt and confirm originating from a webpage with a non-standard URL such as |data:|">
|
|
This page says
|
|
</message>
|
|
<message name="IDS_JAVASCRIPT_MESSAGEBOX_TITLE_NONSTANDARD_URL_IFRAME" desc="Title for JavaScript prompt and confirm originating from an iframe inside the webpage with a non-standard URL such as |data:|">
|
|
An embedded page on this page says
|
|
</message>
|
|
|
|
<message name="IDS_JAVASCRIPT_MESSAGEBOX_SUPPRESS_OPTION" desc="Optional UI shown on the message box, in the form of a checkbox, allowing the user to suppress additional message boxes from the page.">
|
|
Prevent this page from creating additional dialogs
|
|
</message>
|
|
|
|
<!-- "Before Unload" Dialog Box strings -->
|
|
<message name="IDS_BEFOREUNLOAD_MESSAGEBOX_TITLE" desc="Title for the 'before unload' dialog.">
|
|
Leave site?
|
|
</message>
|
|
<message name="IDS_BEFOREUNLOAD_APP_MESSAGEBOX_TITLE" desc="Title for the 'before unload' dialog for apps.">
|
|
Leave app?
|
|
</message>
|
|
<message name="IDS_BEFOREUNLOAD_MESSAGEBOX_OK_BUTTON_LABEL" desc="The text on the button which navigates the user away from the page.">
|
|
Leave
|
|
</message>
|
|
<message name="IDS_BEFOREUNLOAD_MESSAGEBOX_MESSAGE" desc="Body text in a dialog asking the user to confirm that they want to leave or reload a website.">
|
|
Changes you made may not be saved.
|
|
</message>
|
|
|
|
<!-- "Before Reload" Dialog Box strings (same as "Before Unload" but when reloading rather than unloading the page -->
|
|
<message name="IDS_BEFORERELOAD_MESSAGEBOX_TITLE" desc="Title for the 'before unload' dialog for reloads.">
|
|
Reload site?
|
|
</message>
|
|
<message name="IDS_BEFORERELOAD_APP_MESSAGEBOX_TITLE" desc="Title for the 'before unload' dialog for reloads of apps.">
|
|
Reload app?
|
|
</message>
|
|
<message name="IDS_BEFORERELOAD_MESSAGEBOX_OK_BUTTON_LABEL" desc="The text on the button which reloads the page.">
|
|
Reload
|
|
</message>
|
|
|
|
</grit-part>
|