[cr140][Android] NewTabPage.updateSearchProviderHasLogo is updateSearchProvider

Method was renamed and its functionality was extended

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/d8028afc93a2dc4074fedeae232ba5e7cac40273

	[ParityV2] Show fake search box for 3p DSE.

	In this CL, we show fake search box for 3p DSE without logo in both
	phones and tablets. A temporary top margin is added to the fake search box. We also adjust NtpFakeSearchBoxTransitionStartOffset to
	prevent the search box's alpha is set 0 (transparent) on tablets.
	Screenshots: http://shortn/_qHQjTnhSYU

	Bug: 426594110
	Change-Id: If81df470078dfd24d28fcaf6107bcc401691e985
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6676222
This commit is contained in:
AlexeyBarabash
2025-08-19 19:54:18 +01:00
committed by Claudio DeSouza
parent 8d822407cf
commit 3a554ef2cb
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -73,7 +73,7 @@
*** mToolbarSupplier;
*** mBottomSheetController;
*** mTabStripHeightSupplier;
*** updateSearchProviderHasLogo(...);
*** updateSearchProvider(...);
}
-keep class org.chromium.chrome.browser.ntp.BraveNewTabPage {
@@ -177,7 +177,7 @@ public class BraveNewTabPage extends NewTabPage {
mFeedSurfaceProvider = feedSurfaceCoordinator;
}
public void updateSearchProviderHasLogo() {
public void updateSearchProvider() {
// Search provider logo is not used in Brave's NTP.
mSearchProviderHasLogo = false;
}