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

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

Issue 883153002: Load web contents after tab is created. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: findbugs exception Created 5 years, 11 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
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 19021612cb0aeff4784ffe89ce49caa610f0d831..3e56e61f1040650cc4bafbab346e9925e372d594 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
@@ -213,4 +213,13 @@ public interface WebContents {
* org.chromium.content_public.common.ConsoleMessageLevel.
*/
public void addMessageToDevToolsConsole(int level, String message);
+
+ /**
+ * Opens a URL on web contents.
+ * @param url The URL to open.
+ * @param userGesture Whether navigation is triggered during a user gesture.
+ * @param isRendererInitiated Whether the navigation was started in the renderer (e.g.
+ * clicking on a link).
+ */
+ public void openUrl(String url, boolean userGesture, boolean isRendererInitiated);
}
« no previous file with comments | « content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698