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

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

Issue 2955483003: Show splash screen when entering VR from a deep-link (Closed)
Patch Set: . 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/ui_interface.h
diff --git a/chrome/browser/android/vr_shell/ui_interface.h b/chrome/browser/android/vr_shell/ui_interface.h
index 76692d179ee7a249d258e0cb91ef5f564c8d1d14..600e77ea793d03838f753cf0ad68d342c7742404 100644
--- a/chrome/browser/android/vr_shell/ui_interface.h
+++ b/chrome/browser/android/vr_shell/ui_interface.h
@@ -8,6 +8,7 @@
#include "components/security_state/core/security_state.h"
class GURL;
+class SkBitmap;
namespace vr_shell {
@@ -25,7 +26,7 @@ class UiInterface {
virtual ~UiInterface() {}
- virtual void SetWebVrMode(bool enabled, bool auto_presented) = 0;
+ virtual void SetWebVrMode(bool enabled) = 0;
virtual void SetURL(const GURL& url) = 0;
virtual void SetFullscreen(bool enabled) = 0;
virtual void SetSecurityLevel(security_state::SecurityLevel level) = 0;
@@ -39,6 +40,7 @@ class UiInterface {
virtual void SetVideoCapturingIndicator(bool enabled) = 0;
virtual void SetScreenCapturingIndicator(bool enabled) = 0;
virtual void SetAudioCapturingIndicator(bool enabled) = 0;
+ virtual void SetSplashScreenIcon(SkBitmap bitmap) = 0;
cjgrant 2017/06/23 19:26:32 const reference here, shouldn't it be?
ymalik 2017/06/25 20:27:14 Absolutely.
// Tab handling.
virtual void InitTabList() {}

Powered by Google App Engine
This is Rietveld 408576698