[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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user