Commit f554a25a authored by Peter Kotwicz's avatar Peter Kotwicz Committed by Commit Bot

[Android Refactor] Remove unused methods in WebappActivity

Removes unused:
WebappActivity#loadUrlIfPostShareTarget()
WebappActivity#createTabDelegateFactory()

BUG=None

Change-Id: Ifa7294b87fc2815eebdba7adbd25cc1fe56b00bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2148538Reviewed-by: default avatarGlenn Hartmann <hartmanng@chromium.org>
Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#759934}
parent 59eb7dd4
......@@ -42,7 +42,6 @@ import org.chromium.chrome.browser.dependency_injection.ChromeActivityCommonsMod
import org.chromium.chrome.browser.document.ChromeLauncherActivity;
import org.chromium.chrome.browser.tab.Tab;
import org.chromium.chrome.browser.tab.TabBrowserControlsConstraintsHelper;
import org.chromium.chrome.browser.tab.TabDelegateFactory;
import org.chromium.chrome.browser.ui.appmenu.AppMenuPropertiesDelegate;
import org.chromium.chrome.browser.usage_stats.UsageStatsService;
import org.chromium.chrome.browser.util.AndroidTaskUtils;
......@@ -150,10 +149,6 @@ public class WebappActivity extends BaseCustomTabActivity<WebappActivityComponen
}
}
protected boolean loadUrlIfPostShareTarget(WebappInfo webappInfo) {
return false;
}
protected WebappInfo createWebappInfo(Intent intent) {
if (intent == null) return WebappInfo.createEmpty();
......@@ -494,13 +489,6 @@ public class WebappActivity extends BaseCustomTabActivity<WebappActivityComponen
return null;
}
/**
* @return {@link TabDelegateFactory} to be used while creating the associated {@link Tab}.
*/
private TabDelegateFactory createTabDelegateFactory() {
return mDelegateFactory;
}
// We're temporarily disable CS on webapp since there are some issues. (http://crbug.com/471950)
// TODO(changwan): re-enable it once the issues are resolved.
@Override
......
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