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

Unified Diff: device/vr/android/gvr/gvr_delegate.h

Issue 2774933003: Fixes WebVR presentation from within VRShell. (Closed)
Patch Set: Rebased on ToT, nits Created 3 years, 9 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/vr_shell_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/android/gvr/gvr_delegate.h
diff --git a/device/vr/android/gvr/gvr_delegate.h b/device/vr/android/gvr/gvr_delegate.h
index f05624a773f6bd2aa12bf76f3897b1a486e8e4f0..e5c8c75fed993bbd4eb53e5902dacf8eff66e100 100644
--- a/device/vr/android/gvr/gvr_delegate.h
+++ b/device/vr/android/gvr/gvr_delegate.h
@@ -35,7 +35,11 @@ class DEVICE_VR_EXPORT GvrDelegate {
};
// GvrDelegate, which allows WebVR presentation.
-class DEVICE_VR_EXPORT PresentingGvrDelegate : public GvrDelegate {};
+class DEVICE_VR_EXPORT PresentingGvrDelegate : public GvrDelegate {
+ public:
+ virtual void SetSubmitClient(
+ device::mojom::VRSubmitFrameClientPtr submit_client) = 0;
+};
class DEVICE_VR_EXPORT GvrDelegateProvider {
public:
« no previous file with comments | « chrome/browser/android/vr_shell/vr_shell_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698