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

Unified Diff: chrome/browser/android/vr_shell/ui_scene_manager.cc

Issue 2841333003: VR: Make webVR insecure content warning look more like M58 warning. (Closed)
Patch Set: Remove debugging code Created 3 years, 8 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 | « chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/ui_scene_manager.cc
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.cc b/chrome/browser/android/vr_shell/ui_scene_manager.cc
index 4cbeae41985937e6e5b8f066a9e8f03afad5c1d7..49c45158192402d05bec125a2e4f7ef5c08e08c3 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.cc
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.cc
@@ -19,10 +19,10 @@ namespace {
static constexpr int kWarningTimeoutSeconds = 30;
static constexpr float kWarningDistance = 0.7;
static constexpr float kWarningAngleRadians = 16.3 * M_PI / 180.0;
-static constexpr float kPermanentWarningHeight = 0.226;
-static constexpr float kPermanentWarningWidth = 0.078;
-static constexpr float kTransientWarningHeight = 0.512;
-static constexpr float kTransientWarningWidth = 0.160;
+static constexpr float kPermanentWarningHeight = 0.070f;
+static constexpr float kPermanentWarningWidth = 0.224f;
+static constexpr float kTransientWarningHeight = 0.160;
+static constexpr float kTransientWarningWidth = 0.512;
static constexpr float kContentWidth = 2.4;
static constexpr float kContentHeight = 1.6;
« no previous file with comments | « chrome/browser/android/vr_shell/textures/insecure_content_transient_texture.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698