| Index: chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java b/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java
|
| index ac6b2e441bcdc913216f12240c002e0b7c86494d..dc0b7db7afffee997957ce4a222527c04e1a1e19 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java
|
| @@ -157,30 +157,6 @@ public class FeatureUtilities {
|
| nativeSetIsInMultiWindowMode(isInMultiWindowMode);
|
| }
|
|
|
| - /**
|
| - * Check whether tab switching is enabled for the current context.
|
| - * Note that this may return false if native library is not yet ready.
|
| - * @param context The context
|
| - * @return Whether tab switching is enabled for the current context.
|
| - */
|
| - public static boolean isTabSwitchingEnabled(Context context) {
|
| - return !isDocumentMode(context) || isTabSwitchingEnabledInDocumentModeInternal();
|
| - }
|
| -
|
| - /**
|
| - * Check whether tab switching is enabled in document mode.
|
| - * Note that this may return false if native library is not yet ready.
|
| - * @return Whether tab switching is enabled in document mode.
|
| - */
|
| - public static boolean isTabSwitchingEnabledInDocumentMode(Context context) {
|
| - return isDocumentMode(context) && isTabSwitchingEnabledInDocumentModeInternal();
|
| - }
|
| -
|
| - private static boolean isTabSwitchingEnabledInDocumentModeInternal() {
|
| - return CommandLine.getInstance().hasSwitch(
|
| - ChromeSwitches.ENABLE_TAB_SWITCHER_IN_DOCUMENT_MODE);
|
| - }
|
| -
|
| private static boolean isHerbDisallowed(Context context) {
|
| return isDocumentMode(context) || ChromeVersionInfo.isStableBuild()
|
| || ChromeVersionInfo.isBetaBuild() || DeviceFormFactor.isTablet(context);
|
|
|