Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade patches from Chromium 78.0.3904.97 to Chromium 79.0.3945.36 #3994

Closed
wants to merge 54 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
62ba366
Upgrade patches from Chromium 78.0.3904.108 to Chromium 79.0.3945.36.
mkarolin Oct 23, 2019
4940cd1
ntp_tiles_strings.grdp has been removed.
mkarolin Oct 24, 2019
40ebb8b
Added missing headers.
mkarolin Oct 24, 2019
0c6089f
Updated chrome_constants.cc override.
mkarolin Oct 24, 2019
4cb2fed
Updated url_constants.cc override.
mkarolin Oct 25, 2019
6a2cec5
PostTaskWithTraits -> PostTask
mkarolin Oct 24, 2019
e8126a1
syncer::Cryptographer became abstract.
mkarolin Oct 24, 2019
9926d27
Use HighlightPathGenerator.
mkarolin Oct 24, 2019
0bcacbd
Use different AssociatedInterfaceProvider::GetInterfaces.
mkarolin Oct 24, 2019
4942094
LookUpProxyForURL now takes PendingRemote.
mkarolin Oct 25, 2019
37bd8b8
Socket::AcceptCompletionCallback now takes PendingRemote.
mkarolin Oct 25, 2019
8f0fd8b
CreatePrefService now thakes PendingRemote.
mkarolin Oct 25, 2019
3653ac4
AlertIndicator::alert_state_ is now base::Optional.
mkarolin Oct 25, 2019
4f9fd61
Profile menu's SetIdentityInfo signature change.
mkarolin Oct 25, 2019
02b2ebd
NewExtensionUpdaterService is not feature gated.
mkarolin Oct 25, 2019
c5adf1b
HandleExternalProtocol now takes initiating_origin
pilgrim-brave Oct 25, 2019
2adffb9
LOCATION_BAR_BUBBLE_CORNER_RADIUS was removed.
mkarolin Oct 25, 2019
6885fc2
webrtc_ip_handling_policy.h moved to blink.
mkarolin Oct 25, 2019
fb27a60
Don't std::move temporary objects
pilgrim-brave Oct 25, 2019
03bf300
LaunchUrl now takes initiating_origin
pilgrim-brave Oct 25, 2019
3b198a5
Profile attributes SetName -> SetLocalProfileName.
mkarolin Oct 25, 2019
1000cf9
URLLoaderFactory now takes PendingReceiver
pilgrim-brave Oct 25, 2019
58df4e8
ProxyWebSocket::OnConnectionEstablished now takes WebSocketHandshakeR…
pilgrim-brave Oct 25, 2019
acc7f3e
ProxyingWebSocket::OnHeadersReceived now takes remote_endpoint
pilgrim-brave Oct 25, 2019
87fcf15
ProxyingWebSocket::OnResponseReceived no longer exists
pilgrim-brave Oct 25, 2019
6df48de
Moved overriding omnibox colors to theme service.
mkarolin Oct 25, 2019
607a09b
Avatar button changes.
mkarolin Oct 26, 2019
996cbb7
ProfileAttributesStorage::AddProfile signature change.
mkarolin Oct 26, 2019
61466a0
ExternalProcessImportBridge now uses mojom observer.
mkarolin Oct 28, 2019
c1a18f3
PageActionIcon interface changes.
mkarolin Oct 28, 2019
bc12e18
ProfileManager::CreateProfileHelper now returns unique_ptr.
mkarolin Oct 28, 2019
980be12
TestBrowserThreadBundle was removed.
mkarolin Oct 28, 2019
d29f151
GetAvatarToolbarButton is now in ToolbarButtonProvider.
mkarolin Oct 28, 2019
869dd52
Removed MD_ prefix from overriden extension strings.
mkarolin Oct 29, 2019
6af9d5b
Added missing compress=gzip to webui resource.
mkarolin Oct 29, 2019
a0fe38b
Reworked ChromeTypographyProvider override.
mkarolin Oct 30, 2019
289dbb9
Fixes Avatar menu for c79.
mkarolin Oct 29, 2019
60b1393
Fixes location bar focus ring shape.
mkarolin Oct 30, 2019
63b8c43
permission service is now accessed through BrowserInterfaceBroker
pilgrim-brave Oct 31, 2019
6cb21fc
Workaround for build error on Linux.
mkarolin Nov 1, 2019
a635930
Linux: add GetDesktopName to override of channel_info_posix.cc
mkarolin Nov 1, 2019
2e9720a
IsDefauleProfileName takes an additional param now.
mkarolin Nov 8, 2019
9edd3a6
Stop relying on set_sources_assignment_filter.
mkarolin Nov 8, 2019
cfa7769
refactor SecurityIndicatorTest.CheckIndicatorText to use testing params
pilgrim-brave Oct 31, 2019
4403e60
Fixes Widevine on Linux.
mkarolin Nov 1, 2019
7a0d0ad
[Android] Changes in CrashpadClient API signatures.
mkarolin Nov 15, 2019
fcb0e3a
[Android] SigninManagfer API signatures changes.
mkarolin Nov 15, 2019
85f7d1c
[Android] RoundedIconGenerator moved.
mkarolin Nov 15, 2019
29e13c1
[Android] showAccessibilityToast() moved to Toast.showAnchoredToast()
mkarolin Nov 15, 2019
65befa8
[Android] AppMenuPropertiesDelegateImpl API signature change.
mkarolin Nov 15, 2019
a277a1b
[Android] getUserBadgedDrawableForDensity signature change.
mkarolin Nov 15, 2019
7544cba
Fixes a label in Clear Browsing Data dialog.
mkarolin Nov 19, 2019
9b05cf5
Update strings for 79.0.3945.36
mkarolin Nov 20, 2019
fbde6d0
[Android] Fixes build error due to CanonicalCookie::Create API change.
mkarolin Nov 20, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import org.chromium.chrome.browser.favicon.LargeIconBridge;
import org.chromium.chrome.browser.tab.Tab;
import org.chromium.chrome.browser.tabmodel.TabModelImpl;
import org.chromium.chrome.browser.widget.RoundedIconGenerator;
import org.chromium.chrome.browser.ui.widget.RoundedIconGenerator;
import org.chromium.chrome.R;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
import android.graphics.Bitmap;
import android.widget.ImageView;
import org.chromium.chrome.browser.tab.Tab;
import org.chromium.chrome.browser.widget.RoundedIconGenerator;
import org.chromium.chrome.browser.ui.widget.RoundedIconGenerator;
import org.chromium.base.task.AsyncTask;
import android.graphics.BitmapFactory;
import org.chromium.base.annotations.CalledByNative;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.chromium.base.ObservableSupplier;
import org.chromium.chrome.R;
import org.chromium.chrome.browser.ActivityTabProvider;
import org.chromium.chrome.browser.bookmarks.BookmarkBridge;
import org.chromium.chrome.browser.compositor.layouts.OverviewModeBehavior;
import org.chromium.chrome.browser.multiwindow.MultiWindowModeStateDispatcher;
import org.chromium.chrome.browser.notifications.BraveSetDefaultBrowserNotificationService;
Expand All @@ -24,12 +25,14 @@
public class BraveAppMenuPropertiesDelegateImpl extends AppMenuPropertiesDelegateImpl {
private Menu mMenu;

public BraveAppMenuPropertiesDelegateImpl(Context context, ActivityTabProvider activityTabProvider,
public BraveAppMenuPropertiesDelegateImpl(Context context,
ActivityTabProvider activityTabProvider,
MultiWindowModeStateDispatcher multiWindowModeStateDispatcher,
TabModelSelector tabModelSelector, ToolbarManager toolbarManager, View decorView,
@Nullable ObservableSupplier<OverviewModeBehavior> overviewModeBehaviorSupplier) {
@Nullable ObservableSupplier<OverviewModeBehavior> overviewModeBehaviorSupplier,
ObservableSupplier<BookmarkBridge> bookmarkBridgeSupplier) {
super(context, activityTabProvider, multiWindowModeStateDispatcher, tabModelSelector,
toolbarManager, decorView, overviewModeBehaviorSupplier);
toolbarManager, decorView, overviewModeBehaviorSupplier, bookmarkBridgeSupplier);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@
import org.chromium.base.ContextUtils;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.components.signin.AccountTrackerService;
import org.chromium.components.signin.identitymanager.IdentityManager;
import org.chromium.components.signin.identitymanager.IdentityMutator;
import org.chromium.components.sync.AndroidSyncSettings;

public class BraveSigninManager extends SigninManager {
BraveSigninManager(Context context, long nativeSigninManagerAndroid,
AccountTrackerService accountTrackerService) {
super(context, nativeSigninManagerAndroid, accountTrackerService,
BraveSigninManager(long nativeSigninManagerAndroid, AccountTrackerService accountTrackerService,
IdentityManager identityManager, IdentityMutator identityMutator) {
super(nativeSigninManagerAndroid, accountTrackerService, identityManager, identityMutator,
AndroidSyncSettings.get());
}

Expand All @@ -30,11 +32,14 @@ public boolean isSigninSupported() {
}

@CalledByNative
private static SigninManager create(
long nativeSigninManagerAndroid, AccountTrackerService accountTrackerService) {
private static SigninManager create(long nativeSigninManagerAndroid,
AccountTrackerService accountTrackerService, IdentityManager identityManager,
IdentityMutator identityMutator) {
assert nativeSigninManagerAndroid != 0;
assert accountTrackerService != null;
return new BraveSigninManager(ContextUtils.getApplicationContext(),
nativeSigninManagerAndroid, accountTrackerService);
assert identityManager != null;
assert identityMutator != null;
return new BraveSigninManager(nativeSigninManagerAndroid, accountTrackerService,
identityManager, identityMutator);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@
import org.chromium.chrome.browser.tabmodel.TabModelSelectorTabObserver;
import org.chromium.chrome.browser.tabmodel.TabSelectionType;
import org.chromium.chrome.browser.toolbar.top.ToolbarLayout;
import org.chromium.chrome.browser.util.AccessibilityUtil;
import org.chromium.chrome.browser.util.ColorUtils;
import org.chromium.chrome.browser.util.MathUtils;
import org.chromium.chrome.browser.util.PackageUtils;
import org.chromium.ui.interpolators.BakedBezierInterpolator;
import org.chromium.ui.widget.Toast;

import java.net.URL;
import java.util.List;
Expand Down Expand Up @@ -266,7 +266,7 @@ public boolean onLongClick(View v) {
description = resources.getString(R.string.accessibility_toolbar_btn_brave_rewards);
}*/

return AccessibilityUtil.showAccessibilityToast(context, v, description);
return Toast.showAnchoredToast(context, v, description);
}

public void populateUrlAnimatorSet(boolean hasFocus, int urlFocusToolbarButtonsDuration,
Expand Down
Loading