| 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..8f67e6fa25a648f42b0735f039ff11bec452a224 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
|
| @@ -45,6 +45,14 @@ public interface BottomSheetObserver {
|
| void onSheetOffsetChanged(float heightFraction);
|
|
|
| /**
|
| + * A notification that the dimensions of the sheet has changed. The container height will be
|
| + * different from the window height when the keyboard is showing.
|
| + * @param windowHeight The height of the window in px.
|
| + * @param containerHeight The height of the bottom sheet's container in px.
|
| + */
|
| + void onSheetLayout(int windowHeight, int containerHeight);
|
| +
|
| + /**
|
| * An event for when the sheet is transitioning from the peeking state to the half expanded
|
| * state. Once the sheet is outside the peek-half range, this event will no longer be
|
| * called. This event is guaranteed to be called at least once with 0.0f in the peeking state
|
|
|