Chromium Code Reviews| 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..a08314cf3b383989f37631f26b9151201d9b9977 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 |
| @@ -593,7 +593,7 @@ public class BottomSheet |
| * Gets the minimum offset of the bottom sheet. |
| * @return The min offset. |
| */ |
| - private float getMinOffset() { |
| + public float getMinOffset() { |
|
Theresa
2017/03/08 18:05:24
nit: these should be moved up by the other public
Theresa
2017/03/09 17:55:44
Done.
|
| return getPeekRatio() * mContainerHeight; |
| } |
| @@ -601,7 +601,7 @@ public class BottomSheet |
| * Gets the sheet's offset from the bottom of the screen. |
| * @return The sheet's distance from the bottom of the screen. |
| */ |
| - private float getSheetOffsetFromBottom() { |
| + public float getSheetOffsetFromBottom() { |
| return mContainerHeight - getTranslationY(); |
| } |