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

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

Issue 2887773008: Update fullscreen ux, make floor and ceiling visible. (Closed)
Patch Set: 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/vr_shell/VrShellImpl.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java
index aff70783ec833767b94a72b89916cdf694855b6e..4219feae0aa244ba042f71812a0a65f3d9fe892d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/vr_shell/VrShellImpl.java
@@ -69,9 +69,10 @@ public class VrShellImpl
// text too small to read.
private static final float DEFAULT_CONTENT_WIDTH = 960f;
private static final float DEFAULT_CONTENT_HEIGHT = 640f;
- // Make full screen 16:9 while maintaining same width as default.
- private static final float FULLSCREEN_CONTENT_WIDTH = 960f;
- private static final float FULLSCREEN_CONTENT_HEIGHT = 540f;
+
+ // Make full screen 16:9 until we get exact dimensions from playing video.
+ private static final float FULLSCREEN_CONTENT_WIDTH = 1024f;
+ private static final float FULLSCREEN_CONTENT_HEIGHT = 576f;
private final ChromeActivity mActivity;
private final VrShellDelegate mDelegate;
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/ui_scene_manager.h » ('j') | chrome/browser/android/vr_shell/ui_scene_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698