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

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

Issue 2775003002: Assign names to VR UI elements for debugging and test. (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/ui_scene.cc
diff --git a/chrome/browser/android/vr_shell/ui_scene.cc b/chrome/browser/android/vr_shell/ui_scene.cc
index ac8cb688b87144a1b317316d8a2ab13a7fa0e2b7..9ee142eaca2770c0543e692d0836c7eccaf109f0 100644
--- a/chrome/browser/android/vr_shell/ui_scene.cc
+++ b/chrome/browser/android/vr_shell/ui_scene.cc
@@ -442,6 +442,7 @@ void UiScene::ApplyDictToElement(const base::DictionaryValue& dict,
element->parent_id = parent_id;
}
+ dict.GetString("name", &element->name);
dict.GetBoolean("visible", &element->visible);
dict.GetBoolean("hitTestable", &element->hit_testable);
dict.GetBoolean("lockToFov", &element->lock_to_fov);

Powered by Google App Engine
This is Rietveld 408576698