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

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

Issue 2442873002: Control the VrShell content quad via the HTML UI. (Closed)
Patch Set: Rebase; address nits and bug. 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
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements.h ('k') | chrome/browser/android/vr_shell/ui_scene.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5271f7b37959e4b39a5808160a0fb66c8af0ea25 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_element_ = nullptr;
DISALLOW_COPY_AND_ASSIGN(UiScene);
};
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements.h ('k') | chrome/browser/android/vr_shell/ui_scene.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698