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; | 5 package org.chromium.chrome.browser.widget.bottomsheet; |
6 | 6 |
7 /** | 7 /** |
8 * An empty base implementation of the {@link BottomSheetObserver} interface. | 8 * An empty base implementation of the {@link BottomSheetObserver} interface. |
9 */ | 9 */ |
10 public class EmptyBottomSheetObserver implements BottomSheetObserver { | 10 public class EmptyBottomSheetObserver implements BottomSheetObserver { |
11 @Override | 11 @Override |
12 public void onSheetOpened() {} | 12 public void onSheetOpened() {} |
13 | 13 |
14 @Override | 14 @Override |
15 public void onSheetClosed() {} | 15 public void onSheetClosed() {} |
16 | 16 |
17 @Override | 17 @Override |
18 public void onLoadUrl(String url) {} | 18 public void onLoadUrl(String url) {} |
19 | 19 |
20 @Override | 20 @Override |
21 public void onSheetOffsetChanged(float heightFraction) {} | 21 public void onSheetOffsetChanged(float heightFraction) {} |
22 | 22 |
23 @Override | 23 @Override |
24 public void onTransitionPeekToHalf(float transitionFraction) {} | 24 public void onTransitionPeekToHalf(float transitionFraction) {} |
25 } | 25 } |
OLD | NEW |