Commit 2fcc411c authored by aurimas's avatar aurimas Committed by Commit bot

Remove unused Contextual Search methods.

BUG=406483

Review URL: https://codereview.chromium.org/1146453003

Cr-Commit-Position: refs/heads/master@{#330676}
parent c1f16bd8
...@@ -19,7 +19,6 @@ import org.chromium.base.VisibleForTesting; ...@@ -19,7 +19,6 @@ import org.chromium.base.VisibleForTesting;
import org.chromium.base.annotations.SuppressFBWarnings; import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.chrome.browser.Tab; import org.chromium.chrome.browser.Tab;
import org.chromium.chrome.browser.compositor.LayerTitleCache; import org.chromium.chrome.browser.compositor.LayerTitleCache;
import org.chromium.chrome.browser.compositor.bottombar.contextualsearch.ContextualSearchPanel;
import org.chromium.chrome.browser.compositor.layouts.ChromeAnimation.Animatable; import org.chromium.chrome.browser.compositor.layouts.ChromeAnimation.Animatable;
import org.chromium.chrome.browser.compositor.layouts.ChromeAnimation.Animation; import org.chromium.chrome.browser.compositor.layouts.ChromeAnimation.Animation;
import org.chromium.chrome.browser.compositor.layouts.components.LayoutTab; import org.chromium.chrome.browser.compositor.layouts.components.LayoutTab;
...@@ -635,23 +634,6 @@ public abstract class Layout implements TabContentManager.ThumbnailChangeListene ...@@ -635,23 +634,6 @@ public abstract class Layout implements TabContentManager.ThumbnailChangeListene
return false; return false;
} }
/**
* Returns whether or not the native Contextual Search layout is showing. Layouts supporting
* Contextual Search should override this method and return "true", indicating that
* the layout has already been swapped from an Android View to a native cc::Layer.
* @return Whether or not the Contextual Search bar is showing.
*/
public boolean isContextualSearchLayoutShowing() {
return false;
}
/**
* @return The {@link ContextualSearchPanel} or "null" if there is none for this layout.
*/
public ContextualSearchPanel getContextualSearchPanel() {
return null;
}
/** /**
* @param currentOffset The current top controls offset in dp. * @param currentOffset The current top controls offset in dp.
* @return {@link Float#NaN} if no offset should be used, or a value in dp if the top controls * @return {@link Float#NaN} if no offset should be used, or a value in dp if the top controls
......
...@@ -30,11 +30,6 @@ public interface ContextualSearchManagementDelegate { ...@@ -30,11 +30,6 @@ public interface ContextualSearchManagementDelegate {
*/ */
void logPromoOutcome(); void logPromoOutcome();
/**
* @return Whether or not the Contextual Search Bar is peeking.
*/
boolean isSearchBarPeeking();
/** /**
* Updates the top controls state for the base tab. As these values are set at the renderer * Updates the top controls state for the base tab. As these values are set at the renderer
* level, there is potential for this impacting other tabs that might share the same * level, there is potential for this impacting other tabs that might share the same
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment