Commit 2493198a authored by Matthew Jones's avatar Matthew Jones Committed by Commit Bot

Remove unused methods and vars from BottomSheet

Bug: 814528
Change-Id: I3abfcf7c13e95964ad4d21488e2fad82c96dd4c7
Reviewed-on: https://chromium-review.googlesource.com/987619Reviewed-by: default avatarTheresa <twellington@chromium.org>
Commit-Queue: Matthew Jones <mdjones@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547453}
parent c6de615e
......@@ -45,11 +45,6 @@ public class ContextualSuggestionsBottomSheetContent implements BottomSheetConte
@Override
public void destroy() {}
@Override
public boolean applyDefaultTopPadding() {
return false;
}
@Override
public @ContentPriority int getPriority() {
return ContentPriority.LOW;
......
......@@ -254,9 +254,6 @@ public class BottomSheet extends FrameLayout
/** Whether or not scroll events are currently being blocked for the 'velocity' swipe logic. */
private boolean mVelocityLogicBlockSwipe;
/** The speed of the swipe the last time the sheet was opened. */
private long mLastSheetOpenMicrosPerDp;
/**
* An interface defining content that can be displayed inside of the bottom sheet for Chrome
* Home.
......@@ -288,11 +285,6 @@ public class BottomSheet extends FrameLayout
*/
void destroy();
/**
* @return Whether the default top padding should be applied to the content view.
*/
boolean applyDefaultTopPadding();
/**
* @return The priority of this content.
*/
......@@ -344,8 +336,6 @@ public class BottomSheet extends FrameLayout
currentEvent.getX(), currentEvent.getY())
/ mDpToPx;
long timeDeltaMs = currentEvent.getEventTime() - initialEvent.getDownTime();
mLastSheetOpenMicrosPerDp =
Math.round(scrollDistanceDp > 0f ? timeDeltaMs * 1000 / scrollDistanceDp : 0f);
String logicType = FeatureUtilities.getChromeHomeSwipeLogicType();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment