Index: chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java |
index 04e25778bc3d090034bf6fc106ed22365a541b5e..91d596507283bbf160bf8ffcbd3e9864eec287fb 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/toolbar/Toolbar.java |
@@ -8,6 +8,7 @@ import android.graphics.Rect; |
import android.view.View; |
import org.chromium.chrome.browser.compositor.layouts.LayoutUpdateHost; |
+import org.chromium.chrome.browser.widget.BottomSheet; |
/** |
* An interface for outside packages to interact with ToolbarLayout. Other than for testing purposes |
@@ -43,6 +44,12 @@ public interface Toolbar { |
void setTextureCaptureMode(boolean textureMode); |
/** |
+ * Set the bottom sheet for triggering animations. This can be null if Chrome Home is disabled. |
+ * @param sheet The bottom sheet. |
gone
2017/01/20 19:04:08
Should probably just use {@link BottomSheet} rathe
mdjones
2017/01/20 20:11:47
Done.
|
+ */ |
+ void setBottomSheet(BottomSheet sheet); |
+ |
+ /** |
* @return Whether a dirty check for invalidation makes sense at this time. |
*/ |
boolean isReadyForTextureCapture(); |