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

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

Issue 2746013011: [Home] Add BottomSheetObserverTest#testSheetContentChanged (Closed)
Patch Set: 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
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() {

Powered by Google App Engine
This is Rietveld 408576698