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

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

Issue 2774933003: Fixes WebVR presentation from within VRShell. (Closed)
Patch Set: 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
Index: chrome/browser/android/vr_shell/vr_shell.h
diff --git a/chrome/browser/android/vr_shell/vr_shell.h b/chrome/browser/android/vr_shell/vr_shell.h
index 97c61e1b493b8f7a80e555559ec69caf86c59ca1..0d3dcf4d00ea5e2d446416102b05c33e0f7ab3e7 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -202,7 +202,7 @@ class VrShell : public device::PresentingGvrDelegate,
void MainFrameWasResized(bool width_changed) override;
void WebContentsDestroyed() override;
- // device::GvrDelegate implementation
+ // device::GvrDelegate implementation.
void SetWebVRSecureOrigin(bool secure_origin) override;
void SubmitWebVRFrame(int16_t frame_index,
const gpu::MailboxHolder& mailbox) override;
@@ -219,6 +219,10 @@ class VrShell : public device::PresentingGvrDelegate,
const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback,
uint32_t device_id) override;
+ // device::PresentingGvrDelegate implementation.
+ void SetSubmitClient(
+ device::mojom::VRSubmitFrameClientPtr submit_client) override;
+
void ProcessTabArray(JNIEnv* env, jobjectArray tabs, bool incognito);
bool vr_shell_enabled_;
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | chrome/browser/android/vr_shell/vr_shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698