Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2701)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheet.java

Issue 2738843003: [Home] Add a bottom navigation bar for the BottomSheet (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698