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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabDelegateFactory.java

Issue 1525793005: Move Tab's top controls visibility to a delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/customtabs/CustomTabDelegateFactory.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabDelegateFactory.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabDelegateFactory.java
index 96a7e699d71fb5c4e165b57e01e432b3220fbdee..41153d5d23dad4812f02b9456a17c7101175c2e3 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabDelegateFactory.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabDelegateFactory.java
@@ -4,11 +4,9 @@
package org.chromium.chrome.browser.customtabs;
-import android.app.Application;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.graphics.Rect;
-import android.os.IBinder;
import android.os.SystemClock;
import android.os.TransactionTooLargeException;
@@ -151,18 +149,10 @@ public class CustomTabDelegateFactory extends TabDelegateFactory {
}
}
- private final Application mApplication;
- private final IBinder mSession;
private CustomTabNavigationDelegate mNavigationDelegate;
private ExternalNavigationHandler mNavigationHandler;
private CustomTabObserver mTabObserver;
- public CustomTabDelegateFactory(Application application, IBinder session) {
- super();
- mApplication = application;
- mSession = session;
- }
-
@Override
public TabWebContentsDelegateAndroid createWebContentsDelegate(Tab tab,
ChromeActivity activity) {

Powered by Google App Engine
This is Rietveld 408576698