| 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
|
| deleted file mode 100644
|
| index e09a99d5068dd132e2189806da948c396979e8f5..0000000000000000000000000000000000000000
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanelFeatures.java
|
| +++ /dev/null
|
| @@ -1,36 +0,0 @@
|
| -// Copyright 2015 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -package org.chromium.chrome.browser.compositor.bottombar.contextualsearch;
|
| -
|
| -import org.chromium.chrome.browser.customtabs.CustomTab;
|
| -
|
| -/**
|
| - * A utility class meant to determine whether certain features are available in the Search Panel.
|
| - */
|
| -public class ContextualSearchPanelFeatures {
|
| - private boolean mIsCustomTab;
|
| -
|
| - /**
|
| - * @param isCustomTab Whether the current activity contains a {@link CustomTab}.
|
| - */
|
| - public ContextualSearchPanelFeatures(boolean isCustomTab) {
|
| - mIsCustomTab = isCustomTab;
|
| - }
|
| -
|
| - /**
|
| - * @return {@code true} Whether search term refining is available.
|
| - */
|
| - public boolean isSearchTermRefiningAvailable() {
|
| - 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.
|
| - */
|
| - public boolean shouldAnimatePanelCloseOnPromoteToTab() {
|
| - return mIsCustomTab;
|
| - }
|
| -}
|
|
|