Commit dab8d7cd authored by Michael Thiessen's avatar Michael Thiessen Committed by Chromium LUCI CQ

Delete some unused document mode code

Change-Id: I5451d561fb455956bb876683e5784a296419c199
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2637085
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
Auto-Submit: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#844985}
parent 2469b23e
......@@ -77,29 +77,6 @@ import java.util.Map;
public class IntentHandler {
private static final String TAG = "IntentHandler";
/**
* Document mode: If true, Chrome is launched into the same Task.
* Note: used by first-party applications, do not rename.
*/
public static final String EXTRA_APPEND_TASK = "com.android.chrome.append_task";
/**
* Document mode: If true, keep tasks in Recents when a user hits back at the root URL.
* Note: used by first-party applications, do not rename.
*/
public static final String EXTRA_PRESERVE_TASK = "com.android.chrome.preserve_task";
/**
* Document mode: If true, opens the document in background.
* Note: used by first-party applications, do not rename.
*/
public static final String EXTRA_OPEN_IN_BG = "com.android.chrome.open_with_affiliation";
/**
* Document mode: Records what caused a document to be created.
*/
public static final String EXTRA_STARTED_BY = "com.android.chrome.started_by";
/**
* Tab ID to use when creating a new Tab.
*/
......
......@@ -219,7 +219,6 @@ android_library("chrome_java_test_support") {
"javatests/src/org/chromium/chrome/test/util/ChromeRenderTestRule.java",
"javatests/src/org/chromium/chrome/test/util/ChromeRestriction.java",
"javatests/src/org/chromium/chrome/test/util/ChromeTabUtils.java",
"javatests/src/org/chromium/chrome/test/util/DisableInTabbedMode.java",
"javatests/src/org/chromium/chrome/test/util/FullscreenTestUtils.java",
"javatests/src/org/chromium/chrome/test/util/InfoBarTestAnimationListener.java",
"javatests/src/org/chromium/chrome/test/util/InfoBarUtil.java",
......
// Copyright 2014 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.test.util;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* This annotation can be used to mark a test that should be enabled only in Document mode.
*/
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface DisableInTabbedMode {
}
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