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

Unified Diff: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java

Issue 2681933002: Add Java wrapper for RenderFrameHost (Closed)
Patch Set: Make test work with PlzNavigate Created 3 years, 9 months 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: 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 6beee9dd180a45d8799145c8446b6aa560868843..2c7fda4a31e6db1fa58838815f70203fbccb940a 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
@@ -58,6 +58,11 @@ public interface WebContents extends Parcelable {
NavigationController getNavigationController();
/**
+ * @return The main frame associated with this WebContents.
+ */
+ RenderFrameHost getMainFrame();
+
+ /**
* @return The title for the current visible page.
*/
String getTitle();

Powered by Google App Engine
This is Rietveld 408576698