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

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

Issue 1347023004: [Contextual Search] Add close button in maximized state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup rebase Created 5 years, 3 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/ContextualSearchPanelFeatures.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelFeatures.java b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelFeatures.java
index 08c834c85dc8d0e27b6abdc589b8f77c0e156e11..e09a99d5068dd132e2189806da948c396979e8f5 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelFeatures.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelFeatures.java
@@ -27,13 +27,6 @@ public class ContextualSearchPanelFeatures {
}
/**
- * @return {@code true} Whether the close button is available.
- */
- public boolean isCloseButtonAvailable() {
- return mIsCustomTab;
- }
-
- /**
* @return {@code true} Whether the close animation should run when the the panel is closed
* due the panel being promoted to a tab.
*/

Powered by Google App Engine
This is Rietveld 408576698