Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java |
index 581a9a21408f0c393337307c28566a9790a95aa3..4543684c0ab7cfc49225b6a398036b5c042524bc 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java |
@@ -22,6 +22,16 @@ public interface ContextualSearchPanelDelegate { |
boolean isPeeking(); |
/** |
+ * @return The width of the Contextual Search Panel in pixels. |
+ */ |
+ int getMaximumWidthPx(); |
+ |
+ /** |
+ * @return The height of the Contextual Search Panel in pixels. |
+ */ |
+ int getMaximumHeightPx(); |
+ |
+ /** |
* Maximizes the Contextual Search Panel, then promotes it to a regular Tab. |
* @param reason The {@code StateChangeReason} behind the maximization and promotion to tab. |
*/ |