Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Instant Start] Support pre-native inflation of StartSurface toolbar.
In this CL, we fix two issues to make StartSurface toolbar shown pre-native: 1) Remove the check of ChromeFeatureList.HORIZONTAL_TAB_SWITCHER_ANDROID from NewTabButton, since there is no plan to launch this feature any more (crbug.com/1079465). Thus, the NewTabButton can be inflated pre-native. 2) Lazily initialize the IncognitoSwitchCoordinator when native is initialized. Bug: 1076904, 1079465 Change-Id: Ib73e4ee87ccca766612e4d8ab03539f7ec4c9a06 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2180562 Reviewed-by: Matthew Jones <mdjones@chromium.org> Reviewed-by: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Reviewed-by: Ganggui Tang <gogerald@chromium.org> Commit-Queue: Xi Han <hanxi@chromium.org> Cr-Commit-Position: refs/heads/master@{#767132}
- Loading branch information
Xi Han
authored and
Commit Bot
committed
May 10, 2020
1 parent
c3e1531
commit 6b1b7ea
Showing
4 changed files
with
89 additions
and
8 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
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