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

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

Issue 267253007: Use LoadURLWithParams in ChromeWebContentsDelegateAndroid (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed other NavigationController call sites for Android Created 6 years, 7 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 | « components/web_contents_delegate_android/web_contents_delegate_android.cc ('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/browser/LoadUrlParams.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java b/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java
index 12a22600115ba6979ac54789ce9414238e28898f..0f1da1a43d73aafbd90f24eb0dcc13b199513739 100644
--- a/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java
+++ b/content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java
@@ -47,6 +47,7 @@ public class LoadUrlParams {
String mBaseUrlForDataUrl;
String mVirtualUrlForDataUrl;
boolean mCanLoadLocalResources;
+ boolean mIsRendererInitiated;
/**
* Creates an instance with default page transition type.
@@ -359,6 +360,20 @@ public class LoadUrlParams {
return mLoadUrlType;
}
+ /**
+ * @param rendererInitiated Whether or not this load was initiated from a renderer or not.
Ted C 2014/05/15 00:57:00 the trailing or not isn't needed here (or the foll
David Trainor- moved to gerrit 2014/05/15 18:22:14 Done.
+ */
+ public void setIsRendererInitiated(boolean rendererInitiated) {
+ mIsRendererInitiated = rendererInitiated;
+ }
+
+ /**
+ * @return Whether or not this load was initiated from a renderer or not.
+ */
+ public boolean getIsRendererInitiated() {
+ return mIsRendererInitiated;
+ }
+
public boolean isBaseUrlDataScheme() {
// If there's no base url set, but this is a data load then
// treat the scheme as data:.
« no previous file with comments | « components/web_contents_delegate_android/web_contents_delegate_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698