Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
index 45f6f8719ee76dd9984c0f4e0de72f83d035b204..eb88cacb4660fcfd8329fec995e3d0d58ba34d7b 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
@@ -233,6 +233,12 @@ public class ContentViewCore |
* if it's supported. |
*/ |
public boolean willHandleDeferAfterResponseStarted(); |
+ |
+ /** |
+ * Called when the navigation is deferred immediately after the response |
+ * started. |
+ */ |
+ public void addStylesheetToTransition(String stylesheet); |
} |
private final Context mContext; |
@@ -3124,6 +3130,13 @@ public class ContentViewCore |
mNavigationTransitionDelegate = delegate; |
} |
+ @CalledByNative |
+ private void addStylesheetToTransition(String stylesheet) { |
+ if (mNavigationTransitionDelegate != null ) { |
+ mNavigationTransitionDelegate.addStylesheetToTransition(stylesheet); |
+ } |
+ } |
+ |
/** |
* Offer a long press gesture to the embedding View, primarily for WebView compatibility. |
* |