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

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

Issue 2442873002: Control the VrShell content quad via the HTML UI. (Closed)
Patch Set: Created 4 years, 2 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_elements.h
diff --git a/chrome/browser/android/vr_shell/ui_elements.h b/chrome/browser/android/vr_shell/ui_elements.h
index fda2a2fa2b819d6ca2f106165eb13e621bfb77fe..056896dcaf8ffe5c792d779ae647cc0cdc161c58 100644
--- a/chrome/browser/android/vr_shell/ui_elements.h
+++ b/chrome/browser/android/vr_shell/ui_elements.h
@@ -80,6 +80,10 @@ struct ContentRectangle : public WorldRectangle {
// rather than the world.
bool lock_to_fov = false;
+ // If true, this element is the content quad. Only one content quad may be
+ // added to the scene.
+ bool content_quad = false;
+
// Specifies the region (in pixels) of a texture to render.
Recti copy_rect = {0, 0, 0, 0};
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/ui_scene.h » ('j') | chrome/browser/android/vr_shell/ui_scene.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698