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

Unified Diff: chrome/browser/android/vr_shell/vr_gl_thread.h

Issue 2955483003: Show splash screen when entering VR from a deep-link (Closed)
Patch Set: fix compile error on bots Created 3 years, 6 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/browser/android/vr_shell/vr_gl_thread.h
diff --git a/chrome/browser/android/vr_shell/vr_gl_thread.h b/chrome/browser/android/vr_shell/vr_gl_thread.h
index 95ff30eebe87427835c534c28cc4326c84e3a4e7..8e3b89d0f0a82bde462a9c4a2ace672b026d2fd3 100644
--- a/chrome/browser/android/vr_shell/vr_gl_thread.h
+++ b/chrome/browser/android/vr_shell/vr_gl_thread.h
@@ -35,7 +35,7 @@ class VrGLThread : public base::Thread,
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner,
gvr_context* gvr_api,
bool initially_web_vr,
- bool web_vr_autopresented,
+ bool web_vr_autopresentation_expected,
bool in_cct,
bool reprojected_rendering,
bool daydream_support);
@@ -78,14 +78,13 @@ class VrGLThread : public base::Thread,
void SetSecurityInfo(security_state::SecurityLevel level,
bool malware) override;
void SetURL(const GURL& gurl) override;
- void SetWebVrMode(bool enabled,
- bool auto_presented,
- bool show_toast) override;
+ void SetWebVrMode(bool enabled, bool show_toast) override;
void SetWebVrSecureOrigin(bool secure) override;
void SetVideoCapturingIndicator(bool enabled) override;
void SetScreenCapturingIndicator(bool enabled) override;
void SetAudioCapturingIndicator(bool enabled) override;
void SetIsExiting() override;
+ void SetSplashScreenIcon(const SkBitmap& bitmap) override;
protected:
void Init() override;
@@ -104,7 +103,7 @@ class VrGLThread : public base::Thread,
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
gvr_context* gvr_api_;
bool initially_web_vr_;
- bool web_vr_autopresented_;
+ bool web_vr_autopresentation_expected_;
bool in_cct_;
bool reprojected_rendering_;
bool daydream_support_;
« no previous file with comments | « chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc ('k') | chrome/browser/android/vr_shell/vr_gl_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698