OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 package org.chromium.chrome.browser.widget.bottomsheet; | 5 package org.chromium.chrome.browser.widget.bottomsheet; |
6 | 6 |
7 import org.chromium.chrome.browser.widget.bottomsheet.BottomSheet.BottomSheetCon
tent; | 7 import org.chromium.chrome.browser.widget.bottomsheet.BottomSheet.BottomSheetCon
tent; |
8 | 8 |
9 /** | 9 /** |
10 * An empty base implementation of the {@link BottomSheetObserver} interface. | 10 * An empty base implementation of the {@link BottomSheetObserver} interface. |
(...skipping 15 matching lines...) Expand all Loading... |
26 public void onSheetOffsetChanged(float heightFraction) {} | 26 public void onSheetOffsetChanged(float heightFraction) {} |
27 | 27 |
28 @Override | 28 @Override |
29 public void onTransitionPeekToHalf(float transitionFraction) {} | 29 public void onTransitionPeekToHalf(float transitionFraction) {} |
30 | 30 |
31 @Override | 31 @Override |
32 public void onSheetStateChanged(int newState) {} | 32 public void onSheetStateChanged(int newState) {} |
33 | 33 |
34 @Override | 34 @Override |
35 public void onSheetContentChanged(BottomSheetContent newContent) {} | 35 public void onSheetContentChanged(BottomSheetContent newContent) {} |
| 36 |
| 37 @Override |
| 38 public void onSheetBackgrounded() {} |
| 39 |
| 40 @Override |
| 41 public void onSheetForegrounded() {} |
36 } | 42 } |
OLD | NEW |