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

Unified Diff: chrome/android/java_staging/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java

Issue 1157433002: Make it possible to load a new Url in hosted mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: chrome/android/java_staging/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
diff --git a/chrome/android/java_staging/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java b/chrome/android/java_staging/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
index 00dbb8cb0c6323dfc501d24a504a635daf5cac3a..f15803da0733ccc2e5a63628b27d404049e95cdd 100644
--- a/chrome/android/java_staging/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
+++ b/chrome/android/java_staging/src/org/chromium/chrome/browser/document/ChromeLauncherActivity.java
@@ -265,6 +265,9 @@ public class ChromeLauncherActivity extends Activity
String url = IntentHandler.getUrlFromIntent(getIntent());
if (url == null) return false;
+ boolean handled = HostedActivity.shouldActiveContentHandleIntent(getIntent());
pasko 2015/05/26 17:30:07 this way of naming is slightly confusing: shouldDo
+ if (handled) return true;
+
// Create and fire a launch intent. Use the copy constructor to carry over the myriad of
// extras.
Intent newIntent = new Intent(getIntent());

Powered by Google App Engine
This is Rietveld 408576698