| Index: chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheetObserver.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheetObserver.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheetObserver.java
|
| index 84ca3d8673d846e1d0ec8472d6754982d60c3927..6dcba7ad344d1e9991a95c44316039efc2e4cd97 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheetObserver.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheetObserver.java
|
| @@ -68,4 +68,14 @@
|
| * @param newContent The new {@link BottomSheetContent}.
|
| */
|
| void onSheetContentChanged(BottomSheetContent newContent);
|
| +
|
| + /**
|
| + * An event for when the sheet is revealed by bringing the app in the foreground.
|
| + */
|
| + void onSheetForegrounded();
|
| +
|
| + /**
|
| + * An event for when the sheet is hidden by putting the app in the background.
|
| + */
|
| + void onSheetBackgrounded();
|
| }
|
|
|