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 21262f341a847966bdf9e258a8b312e4f8f2cf4d..53665a8db1d2965c79cbf0dc32461acfb01ff4b7 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 |
@@ -241,6 +241,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; |
@@ -3173,6 +3179,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. |
* |