Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/EmptyBottomSheetObserver.java

Issue 2862893002: 📰 Add visibility change triggers for bottom sheet content (Closed)
Patch Set: cleanup, support app switching Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698