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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java

Issue 2873843002: Support autopresenting WebVr content. (Closed)
Patch Set: Address review comments Created 3 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/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
index 771ca11fd63452ba1506e495019e7ad30a36e239..5e3707078bb1419a958685efa3f3e28cc08f5457 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
@@ -867,6 +867,9 @@ public class ChromeTabbedActivity extends ChromeActivity implements OverviewMode
mIntentWithEffect = mIntentHandler.onNewIntent(intent);
}
+ // We send this intent so that we can enter WebVr presentation mode if needed.
mthiesse 2017/05/11 14:25:17 This should probably live in ChromeActivity in cas
ymalik 2017/05/11 17:22:56 Totally. At first I was worried because the first
+ VrShellDelegate.onNewIntent(this, getIntent());
+
if (isMainIntentFromLauncher(intent)) {
if (IntentHandler.getUrlFromIntent(intent) == null) {
assert !mIntentWithEffect

Powered by Google App Engine
This is Rietveld 408576698