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

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

Issue 2630513003: Expand bottom sheet when URL bar is focused (Closed)
Patch Set: rebase Created 3 years, 11 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/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();

Powered by Google App Engine
This is Rietveld 408576698