Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the single web app permission dialog case
Add the single web app permission dialog case for web app protocol handler intent picker dialog. This cl adds the startup launch logic to show the dialog with the right conditions. This cl does not remember the choices the user makes so they will see the dialog every time we launch from protocol. This cl also removes the multi app picker dialog from the code. The decision to do this is following our new design to support multi-profile protocol handling for web applications. Design doc link below. One-pager: https://docs.google.com/document/d/1ksfUr31h1YYNdsAswwQ5_-567RukXP_i3uQ2c4kJYYo/edit?usp=sharing&resourcekey=0-Lve5NUPuyZJ_ZPcE8g0HEw New screenshots of the dialog can be seen at this patchset: https://chromium-review.googlesource.com/c/chromium/src/+/2800473/20 To test this change: - Launch the browser on Windows/Linux/Mac with --enable-blink-features=ParseUrlProtocolHandler - Install http://fabiorocha.github.io/pwa - From cmd run "start web+github://testvalue" - Observe the dialog and select "Allow". - Use the DevTools to verify that the PWA was launched with the fully translated URL: https://fabiorocha.github.io/pwa/?github=web%2Bgithub%3A%2F%2Ftestvalue%2F Bug: 1105257 Change-Id: I2802da85e0adee1e8565e88708b54ae543f2a3e0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2800473 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Daniel Murphy <dmurph@chromium.org> Reviewed-by: Greg Thompson <grt@chromium.org> Reviewed-by: Nicolas Ouellet-Payeur <nicolaso@chromium.org> Commit-Queue: Samuel Tang <samtan@microsoft.com> Cr-Commit-Position: refs/heads/master@{#880092}
- Loading branch information
1 parent
9499ad9
commit a5fc44e
Showing
18 changed files
with
238 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...r_intent_picker_strings_grdp/IDS_PROTOCOL_HANDLER_INTENT_PICKER_APP_ORIGIN_LABEL.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
04fafe5e2e86111e0b4532e2a28d64a6b08cb860 | ||
af4a036812ba61536eea9af5e7ed7b36f69f7859 |
1 change: 0 additions & 1 deletion
1
..._picker_strings_grdp/IDS_PROTOCOL_HANDLER_INTENT_PICKER_MULTI_CANCEL_BUTTON_TEXT.png.sha1
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...tent_picker_strings_grdp/IDS_PROTOCOL_HANDLER_INTENT_PICKER_MULTI_OK_BUTTON_TEXT.png.sha1
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...andler_intent_picker_strings_grdp/IDS_PROTOCOL_HANDLER_INTENT_PICKER_MULTI_TITLE.png.sha1
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
...intent_picker_strings_grdp/IDS_PROTOCOL_HANDLER_INTENT_PICKER_REMEMBER_SELECTION.png.sha1
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...picker_strings_grdp/IDS_PROTOCOL_HANDLER_INTENT_PICKER_SINGLE_CANCEL_BUTTON_TEXT.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1e63215b07c3a7c383ef7169e5e680f0c6de5533 | ||
f2820a81df5f31fd9bb2647de326e7eb235baa95 |
2 changes: 1 addition & 1 deletion
2
...ent_picker_strings_grdp/IDS_PROTOCOL_HANDLER_INTENT_PICKER_SINGLE_OK_BUTTON_TEXT.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2a909dbb29ddad95f32f3cad3a88040f3a6159e2 | ||
74205678aff0b85ef2da2184cb2df1704a599490 |
2 changes: 1 addition & 1 deletion
2
...ndler_intent_picker_strings_grdp/IDS_PROTOCOL_HANDLER_INTENT_PICKER_SINGLE_TITLE.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
11c24a134a4eb2c84b9829c6504c5bee2d2f35cf | ||
c93fc64068b1a5f8c068749b8ef87754c3c764d3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.