-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Extensions c2s] Show reload message in menu for site settings update
When an user updates site settings, the changes are immediate. However, sometimes a page reload is needed for the changes to be applied to the page (e.g extension was already injected and the user blocked extensions). Therefore, we show a reload message in the extensions menu when a reload needs to apply the updated user site settings. The reload message is only shown in the tab where the site settings were updated until the user refreshes the page or navigates to another site. [1] Known issue: If another tab was open with the same origin, the site setting will be updated but the extensions menu will not show the refresh message even if it needs it (crbug.com/1449066) [2]. Ideally we should cover those cases, but for now we are matching current behavior for multiple tabs open for <site> and one of them changes site access. The other tabs toolbar/menu strings are updated but doesn't match with visible changes and user is not aware it needs to reload (crbug.com/1449066 [3]. Screencasts: [1] https://drive.google.com/file/d/1dFRvRMbF8SLQE_-iPg8zpk17ybjm2KpP/view?usp=sharing [2] https://drive.google.com/file/d/1ijk8TmVU5oEnRtXSOt6W9aPhi1RyHjwj/view?usp=sharing [3] https://drive.google.com/file/d/1_sQ38sK6Xx3LA_uUrsno8Hh_2V1Qaq-V/view?usp=sharing Bug: 1390952 Change-Id: Ifed63131d30afa7262f9416fdcbad8c0932199a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4564373 Reviewed-by: David Bertoni <dbertoni@chromium.org> Commit-Queue: Emilia Paz <emiliapaz@chromium.org> Reviewed-by: Allen Bauer <kylixrd@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150635}
- Loading branch information
1 parent
67c8f14
commit 59e8f35
Showing
14 changed files
with
460 additions
and
117 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
1 change: 1 addition & 0 deletions
1
...d_resources_grd/IDS_EXTENSIONS_MENU_MESSAGE_SECTION_RELOAD_CONTAINER_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 |
---|---|---|
@@ -0,0 +1 @@ | ||
20fba0bc5e51b92f8433737e6f4ee799352e96f3 |
1 change: 1 addition & 0 deletions
1
...ources_grd/IDS_EXTENSIONS_MENU_MESSAGE_SECTION_RELOAD_CONTAINER_DESCRIPTION_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 |
---|---|---|
@@ -0,0 +1 @@ | ||
20fba0bc5e51b92f8433737e6f4ee799352e96f3 |
1 change: 1 addition & 0 deletions
1
...ed_resources_grd/IDS_EXTENSIONS_MENU_MESSAGE_SECTION_USER_CUSTOMIZED_ACCESS_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 |
---|---|---|
@@ -0,0 +1 @@ | ||
87119df8ee3a5ddc56d8883270e478579acd7545 |
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.