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() { |