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

Unified Diff: chrome/browser/android/vr_shell/ui_scene.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_scene.h
diff --git a/chrome/browser/android/vr_shell/ui_scene.h b/chrome/browser/android/vr_shell/ui_scene.h
index 62781b969bb5f51c0891301f0deccc069ca12b2a..ea32ea4844399dbbc56d5867bc1d69cf1919e277 100644
--- a/chrome/browser/android/vr_shell/ui_scene.h
+++ b/chrome/browser/android/vr_shell/ui_scene.h
@@ -66,6 +66,8 @@ class UiScene {
ContentRectangle* GetUiElementById(int element_id);
+ ContentRectangle* GetContentQuad();
+
// Return a monotonic time in microseconds for coordinating animations.
static int64_t TimeInMicroseconds();
@@ -74,7 +76,9 @@ class UiScene {
ReversibleTransform* transform);
void ApplyDictToElement(const base::DictionaryValue& dict,
ContentRectangle *element);
+
std::vector<std::unique_ptr<ContentRectangle>> ui_elements_;
+ ContentRectangle* content_quad_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(UiScene);
};

Powered by Google App Engine
This is Rietveld 408576698