// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/vr/elements/linear_layout.h" namespace vr { namespace { // NB: this function makes no attempt to account for rotated elements. float GetExtent(const UiElement& element, bool horizontal) { … } } // namespace LinearLayout::LinearLayout(Direction direction) : … { … } LinearLayout::~LinearLayout() { … } void LinearLayout::LayOutContributingChildren() { … } bool LinearLayout::Horizontal() const { … } void LinearLayout::GetTotalExtent(const UiElement* element_to_exclude, float* major_extent, float* minor_extent) const { … } } // namespace vr