| 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..43210b50482d8893b788ee7f52f625217c5760c5 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
|
| @@ -12,6 +12,11 @@ import org.chromium.chrome.browser.compositor.bottombar.contextualsearch.Context
|
| */
|
| public interface ContextualSearchPanelDelegate {
|
| /**
|
| + * @return Whether the Panel is in fullscreen size.
|
| + */
|
| + boolean isFullscreenSizePanel();
|
| +
|
| + /**
|
| * @return Whether the Panel is showing.
|
| */
|
| boolean isShowing();
|
| @@ -22,6 +27,26 @@ 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();
|
| +
|
| + /**
|
| + * @return The width of the Search Content View in pixels.
|
| + */
|
| + int getSearchContentViewWidthPx();
|
| +
|
| + /**
|
| + * @return The height of the Search Content View in pixels.
|
| + */
|
| + int getSearchContentViewHeightPx();
|
| +
|
| + /**
|
| * Maximizes the Contextual Search Panel, then promotes it to a regular Tab.
|
| * @param reason The {@code StateChangeReason} behind the maximization and promotion to tab.
|
| */
|
|
|