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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java

Issue 1146453003: Remove unused Contextual Search methods. (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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagementDelegate.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java
index 9be24e6040dc0919e5398a3dbe4fbaa66d22226f..aeb178e79c7401e3f08e1b94eeb027bf1ed39ea0 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java
@@ -19,7 +19,6 @@ import org.chromium.base.VisibleForTesting;
import org.chromium.base.annotations.SuppressFBWarnings;
import org.chromium.chrome.browser.Tab;
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.Animation;
import org.chromium.chrome.browser.compositor.layouts.components.LayoutTab;
@@ -636,23 +635,6 @@ public abstract class Layout implements TabContentManager.ThumbnailChangeListene
}
/**
- * 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.
* @return {@link Float#NaN} if no offset should be used, or a value in dp if the top controls
* offset should be overridden.
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagementDelegate.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698