| Index: chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheet.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheet.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheet.java
|
| index c84d09a0fd1e48cbe325b73c5b897f3815facccf..1bf6755621b4903482135918dc862467826676b5 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheet.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheet.java
|
| @@ -440,6 +440,11 @@ public Tab getActiveTab() {
|
| return mTabModelSelector.getCurrentTab();
|
| }
|
|
|
| + @Override
|
| + public boolean isVisible() {
|
| + return mCurrentState != SHEET_STATE_PEEK;
|
| + }
|
| +
|
| /**
|
| * Determines if a touch event is inside the toolbar. This assumes the toolbar is the full
|
| * width of the screen and that the toolbar is at the top of the bottom sheet.
|
|
|