| Index: chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheetObserver.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheetObserver.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheetObserver.java
|
| deleted file mode 100644
|
| index 7c156ff2483a78f509453447c520a76ad6d77bf3..0000000000000000000000000000000000000000
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/widget/BottomSheetObserver.java
|
| +++ /dev/null
|
| @@ -1,50 +0,0 @@
|
| -// Copyright 2017 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -package org.chromium.chrome.browser.widget;
|
| -
|
| -/**
|
| - * An interface for notifications about the state of the bottom sheet.
|
| - */
|
| -public interface BottomSheetObserver {
|
| - /**
|
| - * A notification that the sheet has been opened, meaning the sheet is any height greater
|
| - * than its peeking state.
|
| - */
|
| - void onSheetOpened();
|
| -
|
| - /**
|
| - * A notification that the sheet has closed, meaning the sheet has reached its peeking state.
|
| - */
|
| - void onSheetClosed();
|
| -
|
| - /**
|
| - * A notification that the sheet has begun loading a URL.
|
| - *
|
| - * @param url The URL being loaded.
|
| - */
|
| - void onLoadUrl(String url);
|
| -
|
| - /**
|
| - * An event for when the sheet's offset from the bottom of the screen changes.
|
| - *
|
| - * @param heightFraction The fraction of the way to the fully expanded state that the sheet
|
| - * is. This will be 0.0f when the sheet is peeking and 1.0f when the
|
| - * sheet is completely expanded.
|
| - */
|
| - void onSheetOffsetChanged(float heightFraction);
|
| -
|
| - /**
|
| - * 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
|
| - * and 1.0f at or past the half state. This means if the sheet is set to the full state from
|
| - * the peeking state, this event will be called a single time with 1.0f.
|
| - *
|
| - * @param transitionFraction The fraction of the way to the half expanded state that the
|
| - * sheet is. This will be 0.0f when the sheet is peeking and 1.0f
|
| - * when the sheet is half expanded.
|
| - */
|
| - void onTransitionPeekToHalf(float transitionFraction);
|
| -}
|
|
|