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

Unified Diff: chrome/browser/android/vr_shell/vr_shell.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 | « no previous file | chrome/browser/android/vr_shell/vr_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ee85024d41b5e947f7d7c22bdf6c20f41c937d39..f9788d6324def9be580617dcdcde9fdd40ddd070 100644
--- a/chrome/browser/android/vr_shell/vr_shell.h
+++ b/chrome/browser/android/vr_shell/vr_shell.h
@@ -204,7 +204,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;
@@ -221,6 +221,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698