Skip to content

Commit

Permalink
[AUTO] Patches auto-rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
uazo authored and github-actions[bot] committed Sep 12, 2024
1 parent c75eccc commit 2f32410
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion build/patches/Do-not-compile-QR-code-sharing.patch
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -1664,6 +1664,7 @@ void SendTabToSelf(Browser* browser) {
@@ -1667,6 +1667,7 @@ void SendTabToSelf(Browser* browser) {
}

bool CanGenerateQrCode(const Browser* browser) {
Expand Down
4 changes: 2 additions & 2 deletions build/patches/Enable-native-Android-autofill.patch
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.cc b/co
diff --git a/components/autofill/content/browser/content_autofill_driver.h b/components/autofill/content/browser/content_autofill_driver.h
--- a/components/autofill/content/browser/content_autofill_driver.h
+++ b/components/autofill/content/browser/content_autofill_driver.h
@@ -135,6 +135,12 @@ class ContentAutofillDriver : public AutofillDriver,
@@ -137,6 +137,12 @@ class ContentAutofillDriver : public AutofillDriver,
// AutofillDriverFactory. Called on certain types of navigations.
void Reset(ContentAutofillDriverFactoryPassKey pass_key);

Expand All @@ -764,7 +764,7 @@ diff --git a/components/autofill/content/browser/content_autofill_driver.h b/com
content::RenderFrameHost* render_frame_host() { return &*render_frame_host_; }
const content::RenderFrameHost* render_frame_host() const {
return &*render_frame_host_;
@@ -292,6 +298,10 @@ class ContentAutofillDriver : public AutofillDriver,
@@ -294,6 +300,10 @@ class ContentAutofillDriver : public AutofillDriver,
// The factory that created this driver. Outlives `this`.
const raw_ref<ContentAutofillDriverFactory> owner_;

Expand Down
30 changes: 15 additions & 15 deletions build/patches/Move-navigation-bar-to-bottom.patch
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@ diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
diff --git a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiCoordinator.java b/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiCoordinator.java
--- a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiCoordinator.java
+++ b/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser/tasks/tab_management/TabGroupUiCoordinator.java
@@ -39,6 +39,7 @@ import org.chromium.components.feature_engagement.FeatureConstants;
@@ -40,6 +40,7 @@ import org.chromium.components.feature_engagement.FeatureConstants;
import org.chromium.ui.modaldialog.ModalDialogManager;
import org.chromium.ui.modelutil.PropertyModel;
import org.chromium.ui.modelutil.PropertyModelChangeProcessor;
+import org.chromium.chrome.browser.theme.TopUiThemeColorProvider;

import java.util.List;

@@ -161,7 +162,8 @@ public class TabGroupUiCoordinator
@@ -169,7 +170,8 @@ public class TabGroupUiCoordinator
public void initializeWithNative(
Activity activity,
BottomControlsCoordinator.BottomControlsVisibilityController visibilityController,
Expand All @@ -181,7 +181,7 @@ diff --git a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser
var currentTabModelFilterSupplier =
mTabModelSelector.getTabModelFilterProvider().getCurrentTabModelFilterSupplier();
try (TraceEvent e = TraceEvent.scoped("TabGroupUiCoordinator.initializeWithNative")) {
@@ -220,7 +222,8 @@ public class TabGroupUiCoordinator
@@ -229,7 +231,8 @@ public class TabGroupUiCoordinator
mLayoutStateProviderSupplier,
mIncognitoStateProvider,
mTabGridDialogControllerSupplier,
Expand Down Expand Up @@ -432,8 +432,8 @@ diff --git a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser
+import android.widget.FrameLayout;
import android.widget.ImageView;

import androidx.annotation.IntDef;
@@ -57,6 +62,8 @@ import org.chromium.ui.modelutil.PropertyModelChangeProcessor;
import androidx.annotation.DrawableRes;
@@ -58,6 +63,8 @@ import org.chromium.ui.modelutil.PropertyModelChangeProcessor;
import org.chromium.ui.modelutil.SimpleRecyclerViewAdapter;
import org.chromium.ui.widget.ViewLookupCachingFrameLayout;

Expand All @@ -442,7 +442,7 @@ diff --git a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.List;
@@ -114,6 +121,128 @@ public class TabListCoordinator
@@ -115,6 +122,128 @@ public class TabListCoordinator
private int mAwaitingTabId = Tab.INVALID_TAB_ID;
private @TabActionState int mTabActionState;

Expand Down Expand Up @@ -571,7 +571,7 @@ diff --git a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser
/**
* Construct a coordinator for UI that shows a list of tabs.
*
@@ -356,6 +485,12 @@ public class TabListCoordinator
@@ -311,6 +440,12 @@ public class TabListCoordinator
checkAwaitingLayout();
}
};
Expand All @@ -584,7 +584,7 @@ diff --git a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser
mRecyclerView.setLayoutManager(gridLayoutManager);
mMediator.registerOrientationListener(gridLayoutManager);
mMediator.updateSpanCount(
@@ -367,8 +502,7 @@ public class TabListCoordinator
@@ -322,8 +457,7 @@ public class TabListCoordinator
.getDecorView()
.getWindowVisibleDisplayFrame(frame);
updateGridCardLayout(frame.width());
Expand All @@ -594,7 +594,7 @@ diff --git a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser
LinearLayoutManager layoutManager =
new LinearLayoutManager(
context,
@@ -383,6 +517,25 @@ public class TabListCoordinator
@@ -338,6 +472,25 @@ public class TabListCoordinator
}
};
mRecyclerView.setLayoutManager(layoutManager);
Expand All @@ -620,16 +620,16 @@ diff --git a/chrome/android/features/tab_ui/java/src/org/chromium/chrome/browser
}
mMediator.setRecyclerViewItemAnimationToggle(mRecyclerView::setDisableItemAnimations);
}
@@ -400,7 +553,7 @@ public class TabListCoordinator
if (mHasEmptyView) {
@@ -358,7 +511,7 @@ public class TabListCoordinator
if (hasEmptyView) {
mTabListEmptyCoordinator =
new TabListEmptyCoordinator(
- parentView, mModel, this::runOnItemAnimatorFinished);
+ parentView, mModel, this::runOnItemAnimatorFinished, mBrowserControlsStateProvider);
mEmptyStateHeadingResId = emptyHeadingStringResId;
mEmptyStateSubheadingResId = emptySubheadingStringResId;
mEmptyStateImageResId = emptyImageResId;
@@ -689,6 +842,9 @@ public class TabListCoordinator
}

configureRecyclerViewTouchHelpers(mMode, mTabActionState);
@@ -644,6 +797,9 @@ public class TabListCoordinator
void prepareTabSwitcherPaneView() {
registerLayoutChangeListener();
mRecyclerView.setupCustomItemAnimator();
Expand Down
2 changes: 1 addition & 1 deletion build/patches/Remove-binary-blob-integrations.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3697,7 +3697,7 @@ diff --git a/content/public/android/java/src/org/chromium/content/browser/webid/
diff --git a/content/test/BUILD.gn b/content/test/BUILD.gn
--- a/content/test/BUILD.gn
+++ b/content/test/BUILD.gn
@@ -3581,10 +3581,6 @@ if (is_android) {
@@ -3582,10 +3582,6 @@ if (is_android) {
testonly = true
sources = content_java_sources_needing_jni
deps = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ diff --git a/chrome/renderer/url_loader_throttle_provider_impl.cc b/chrome/rende
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -6533,7 +6533,6 @@ test("unit_tests") {
@@ -6534,7 +6534,6 @@ test("unit_tests") {
"//chrome/browser/feedback:feedback_impl",
"//chrome/browser/fingerprinting_protection",
"//chrome/browser/first_party_sets",
Expand Down

0 comments on commit 2f32410

Please sign in to comment.