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 831f9e1691a06034b7758c7a004287350c6849f8..455cd9d79e4fc93d2568280582b510d422eae4ab 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 |
@@ -240,6 +240,12 @@ public class ContentViewCore |
* if it's supported. |
*/ |
public boolean willHandleDeferAfterResponseStarted(); |
+ |
+ /** |
+ * Called when the navigation is deferred immediately after the response |
+ * started. |
+ */ |
+ public void addEnteringStylesheetToTransition(String stylesheet); |
} |
private final Context mContext; |
@@ -3024,6 +3030,13 @@ public class ContentViewCore |
mNavigationTransitionDelegate = delegate; |
} |
+ @CalledByNative |
+ private void addEnteringStylesheetToTransition(String stylesheet) { |
+ if (mNavigationTransitionDelegate != null ) { |
+ mNavigationTransitionDelegate.addEnteringStylesheetToTransition(stylesheet); |
+ } |
+ } |
+ |
/** |
* Offer a long press gesture to the embedding View, primarily for WebView compatibility. |
* |