Commit 68664907 authored by Pedro Amaral's avatar Pedro Amaral Committed by Commit Bot

Removed getViewsForPadding

BottomSheetContent#getViewsForPadding() was never used so this CL
removes it.

Bug: 814528
Change-Id: I9f4113671a8b2784096e99d5d1bbcdd675a97550
Reviewed-on: https://chromium-review.googlesource.com/967093Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Pedro Amaral <amaralp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#544187}
parent 6114a3e4
...@@ -9,7 +9,6 @@ import android.support.annotation.Nullable; ...@@ -9,7 +9,6 @@ import android.support.annotation.Nullable;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import org.chromium.base.CollectionUtil;
import org.chromium.base.library_loader.LibraryProcessType; import org.chromium.base.library_loader.LibraryProcessType;
import org.chromium.chrome.R; import org.chromium.chrome.R;
import org.chromium.chrome.browser.ChromeActivity; import org.chromium.chrome.browser.ChromeActivity;
...@@ -28,8 +27,6 @@ import org.chromium.chrome.browser.widget.bottomsheet.BottomSheet.StateChangeRea ...@@ -28,8 +27,6 @@ import org.chromium.chrome.browser.widget.bottomsheet.BottomSheet.StateChangeRea
import org.chromium.chrome.browser.widget.displaystyle.UiConfig; import org.chromium.chrome.browser.widget.displaystyle.UiConfig;
import org.chromium.content.browser.BrowserStartupController; import org.chromium.content.browser.BrowserStartupController;
import java.util.List;
/** /**
* Provides content to be displayed inside of the Home tab of bottom sheet. * Provides content to be displayed inside of the Home tab of bottom sheet.
*/ */
...@@ -199,11 +196,6 @@ public class SuggestionsBottomSheetContent implements BottomSheet.BottomSheetCon ...@@ -199,11 +196,6 @@ public class SuggestionsBottomSheetContent implements BottomSheet.BottomSheetCon
return mView; return mView;
} }
@Override
public List<View> getViewsForPadding() {
return CollectionUtil.newArrayList(mRecyclerView);
}
@Override @Override
public View getToolbarView() { public View getToolbarView() {
return null; return null;
......
...@@ -261,13 +261,6 @@ public class BottomSheet ...@@ -261,13 +261,6 @@ public class BottomSheet
*/ */
View getContentView(); View getContentView();
/**
* Gets the {@link View}s that need additional padding applied to them to accommodate other
* UI elements, such as the transparent bottom navigation menu.
* @return The {@link View}s that need additional padding applied to them.
*/
List<View> getViewsForPadding();
/** /**
* Get the {@link View} that contains the toolbar specific to the content being * Get the {@link View} that contains the toolbar specific to the content being
* displayed. If null is returned, the omnibox is used. * displayed. If null is returned, the omnibox is used.
......
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