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

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

Issue 2744763005: 🏠 Add pull-handle to bottom toolbar (Closed)
Patch Set: address comments 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/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 a6c471fbb8e37c62021ccf490f04a2820ae6378e..fa4c5743171286f413d036c8aaee93f7190727ed 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
@@ -36,6 +36,12 @@ public interface Toolbar {
void getPositionRelativeToContainer(View containerView, int[] position);
/**
+ * Get the height of the toolbar in px.
+ * @return The height of the toolbar.
+ */
+ int getHeight();
+
+ /**
* Sets whether or not the toolbar should draw as if it's being captured for a snapshot
* texture. In this mode it will only draw the toolbar in it's normal state (no TabSwitcher
* or animations).

Powered by Google App Engine
This is Rietveld 408576698