| Index: chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListToolbar.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListToolbar.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListToolbar.java
|
| index 74c59806b5058e12681cbb0fd92e2b1652d09dcc..673f49d8e6855a71f613cb6ae64377856121eb64 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListToolbar.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/selection/SelectableListToolbar.java
|
| @@ -69,13 +69,13 @@ public class SelectableListToolbar<E> extends Toolbar implements SelectionObserv
|
| }
|
|
|
| /** No navigation button is displayed. **/
|
| - protected static final int NAVIGATION_BUTTON_NONE = 0;
|
| + public static final int NAVIGATION_BUTTON_NONE = 0;
|
| /** Button to open the DrawerLayout. Only valid if mDrawerLayout is set. **/
|
| - protected static final int NAVIGATION_BUTTON_MENU = 1;
|
| + public static final int NAVIGATION_BUTTON_MENU = 1;
|
| /** Button to navigate back. This calls {@link #onNavigationBack()}. **/
|
| - protected static final int NAVIGATION_BUTTON_BACK = 2;
|
| + public static final int NAVIGATION_BUTTON_BACK = 2;
|
| /** Button to clear the selection. **/
|
| - protected static final int NAVIGATION_BUTTON_SELECTION_BACK = 3;
|
| + public static final int NAVIGATION_BUTTON_SELECTION_BACK = 3;
|
|
|
| protected boolean mIsSelectionEnabled;
|
| protected SelectionDelegate<E> mSelectionDelegate;
|
| @@ -550,4 +550,9 @@ public class SelectableListToolbar<E> extends Toolbar implements SelectionObserv
|
| public View getSearchViewForTests() {
|
| return mSearchView;
|
| }
|
| +
|
| + @VisibleForTesting
|
| + public int getNavigationButtonForTests() {
|
| + return mNavigationButton;
|
| + }
|
| }
|
|
|