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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java

Issue 2746013011: [Home] Add BottomSheetObserverTest#testSheetContentChanged (Closed)
Patch Set: [Home] Add BottomSheetObserverTest#testSheetContentChanged Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheetContentController.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
index 480e2e6a4e6e82972c9a29903a56e36b9f213af8..bd0a01c1e5fc932fd3a8c6de89661721b8a01534 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java
@@ -643,11 +643,21 @@ public abstract class ChromeActivity extends AsyncInitializationActivity
* Get the Chrome Home bottom sheet if it exists.
* @return The bottom sheet or null.
*/
+ @Nullable
public BottomSheet getBottomSheet() {
return mBottomSheet;
}
/**
+ * Get the Chrome Home bottom sheet content controller if it exists.
+ * @return The {@link BottomSheetContentController} or null.
+ */
+ @Nullable
+ public BottomSheetContentController getBottomSheetContentController() {
+ return mBottomSheetContentController;
+ }
+
+ /**
* @return The View used to obscure content and bring focus to a foreground view.
*/
public FadingBackgroundView getFadingBackgroundView() {
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/widget/bottomsheet/BottomSheetContentController.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698