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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelDelegate.java

Issue 1123313006: Revert of [Contextual Search] Remove opt-in code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/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..55ab8e09467fd49eecb28d322964c963b8052fb0 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
@@ -54,6 +54,23 @@
void updateBasePageSelectionYPx(float y);
/**
+ * Sets the content height of the First Run Flow Panel.
+ * @param height The content height of the First Run Flow Panel.
+ */
+ void setPromoContentHeight(float height);
+
+ /**
+ * @param shouldHidePromoHeader Sets whether the First Run Flow's header
+ * should be hidden.
+ */
+ void setShouldHidePromoHeader(boolean shouldHidePromoHeader);
+
+ /**
+ * Animates the Contextual Search panel after first-run success.
+ */
+ void animateAfterFirstRunSuccess();
+
+ /**
* Handles the onLoadStarted event in the WebContents.
*/
void onLoadStarted();

Powered by Google App Engine
This is Rietveld 408576698