Skip to content

Commit 02cfb33

Browse files
mkarolinbsclifton
authored andcommitted
Updated BraveBottomToolbarCoordinator c'tor signature.
Chromium change: https://chromium.googlesource.com/chromium/src/+/45cce5fc1f2c2a8f64aceee1e3f97265a21abf9d commit 45cce5fc1f2c2a8f64aceee1e3f97265a21abf9d Author: Lijin Shen <[email protected]> Date: Thu Oct 31 23:03:39 2019 +0000 Add tab switcher longpress menu on bottom toolbar Implemented the tab swithcer longpress menu on the bottom. In the meanwhile, decreased the menu width to match the design spec. Bug: 1011012
1 parent 1178018 commit 02cfb33

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

android/java/org/chromium/chrome/browser/toolbar/bottom/BraveBottomToolbarCoordinator.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import android.content.res.Resources;
1010
import android.view.View;
1111
import android.view.View.OnClickListener;
12+
import android.view.View.OnLongClickListener;
1213
import android.view.ViewGroup;
1314
import android.view.ViewStub;
1415

@@ -34,9 +35,10 @@ public class BraveBottomToolbarCoordinator
3435

3536
BraveBottomToolbarCoordinator(ViewStub stub, ActivityTabProvider tabProvider,
3637
OnClickListener homeButtonListener, OnClickListener searchAcceleratorListener,
37-
OnClickListener shareButtonListener, ThemeColorProvider themeColorProvider) {
38+
OnClickListener shareButtonListener, OnLongClickListener tabsSwitcherLongClickListner,
39+
ThemeColorProvider themeColorProvider) {
3840
super(stub, tabProvider, homeButtonListener, searchAcceleratorListener, shareButtonListener,
39-
themeColorProvider);
41+
tabsSwitcherLongClickListner, themeColorProvider);
4042
}
4143

4244
@Override

0 commit comments

Comments
 (0)