[vr] Introduce vector bindings

Desktop / Chromium - Ian Vollick [chromium.org] - 12 October 2017 16:06 EDT

In this CL we introduce a collection binding. The intent is to handle situations where the number of models is variable and corresponding
views (and per-model bindings) need to be created/destroyed.

Bug: 768512 Change-Id: I9444fdbf067d0ff031df8e863b84d934452eec67 Reviewed-on: https://chromium-review.googlesource.com/716516

3f35343 [vr] Introduce vector bindings
chrome/browser/vr/BUILD.gn | 3 +
chrome/browser/vr/databinding/vector_binding.h | 72 ++++++++++++++
.../vr/databinding/vector_binding_unittest.cc | 110 +++++++++++++++++++++
.../vr/databinding/vector_element_binding.h | 52 ++++++++++
4 files changed, 237 insertions(+)

Upstream: git.chromium.org


  • Share