Index: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
index 7003298561674d403df8173e13fc2b4c2f0fab0d..981d2e9a1f03de78b8722e6412c29b24ff83108b 100644 |
--- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
+++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java |
@@ -106,4 +106,33 @@ public interface WebContents { |
*/ |
public void selectWordAroundCaret(); |
+ /** |
+ * Get the URL of the current page. |
+ * |
+ * @return The URL of the current page. |
+ */ |
+ public String getUrl(); |
+ |
+ /** |
+ * Get the InCognito state of WebContents. |
+ * |
+ * @return whether this WebContents is in InCognito mode or not |
+ */ |
+ public boolean isIncognito(); |
+ |
+ /** |
+ * Resumes the response which is deferred during start. |
+ */ |
+ public void resumeResponseDeferredAtStart(); |
+ |
+ /** |
+ * Set pending Navigation for transition testing on this WebContents. |
+ */ |
+ public void setHasPendingNavigationTransitionForTesting(); |
+ |
+ /** |
+ * Set delegate for notifying navigation transition. |
+ */ |
+ public void setNavigationTransitionDelegate(NavigationTransitionDelegate delegate); |
+ |
} |