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..cd75a782d32dcbe5245f5da299532e8b11725634 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 bottom sheet content controller or null. |
gone
2017/03/21 17:46:51
Should probably just use {@link BottomSheetContent
Theresa
2017/03/21 22:29:24
Done.
|
+ */ |
+ @Nullable |
+ public BottomSheetContentController getBottomSheetContentController() { |
+ return mBottomSheetContentController; |
+ } |
+ |
+ /** |
* @return The View used to obscure content and bring focus to a foreground view. |
*/ |
public FadingBackgroundView getFadingBackgroundView() { |