Settings: Fix focus restoration when exiting security page subpages.
Specifically: - Pass focusConfig object from parent privacy-page to security-page. - Populate the route hierarchy based on the PrivacySettingsRedesign flag. - Also fixing a pre-existing bug where the /certificates route was available even in cases when it shouldn't (bug exists on stable) The focus config logic for the security page was initially added at r749030, but it wasn't entirely correct and was never triggered. Bug: 1032584 Change-Id: I6ce387485874f380c4a5c20d42c4ee5b32651245 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2099298Reviewed-by:Theodore Olsauskas-Warren <sauski@google.com> Commit-Queue: dpapad <dpapad@chromium.org> Auto-Submit: dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#749711}
Showing
Please register or sign in to comment