Removed ToolbarManager.mShowStartSurfaceSupplier

Related Chromium change
https://source.chromium.org/chromium/chromium/src/+/76dc0890ae54c50d706857f7dbeb99076a4f07b1

	[Start] Clean up ToolbarManager and ToolbarLayout|Phone.

	In this CL, the followings are cleaned up:
	1) ToolbarManager: anything related to Start surface;
	2) ToolbarPhone: both |mIsShowingStartSurfaceHomepage| and
	   |mIsShowingStartSurfaceTabSwitcher| are always false. Remove both
	   and usages.
	3) ToolbarPhone#isLocationBarShownInGeneralNtpOrStartSurface() is
	   replaced by isLocationBarShownInGeneralNtp(), since "surface
	   polish" has enabled by default.
	4) ToolbarLayout#onStartSurfaceStateChanged(): remove this orphan
	   method.

	Bug: 344651414, 40221888, 40834987
	Change-Id: I089d6c8c5390477d305ea377bd2b6c0e97034ff0
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5675441
This commit is contained in:
AlexeyBarabash
2024-08-07 21:31:31 -04:00
committed by mkarolin
parent 86e77d5332
commit b05553d90c
4 changed files with 0 additions and 9 deletions
-1
View File
@@ -127,7 +127,6 @@
*** mActivityTabProvider;
*** mAppThemeColorProvider;
*** mScrimCoordinator;
*** mShowStartSurfaceSupplier;
*** mMenuButtonCoordinator;
*** mToolbarTabController;
*** mLocationBar;