// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_LAYOUT_BOX_LAYOUT_H_ #define UI_VIEWS_LAYOUT_BOX_LAYOUT_H_ #include "base/memory/raw_ptr.h" #include "base/memory/raw_ptr_exclusion.h" #include "ui/gfx/geometry/insets.h" #include "ui/views/layout/layout_manager_base.h" #include "ui/views/layout/layout_types.h" #include "ui/views/layout/normalized_geometry.h" #include "ui/views/view.h" namespace views { class VIEWS_EXPORT BoxLayoutFlexSpecification { … }; // A Layout manager that arranges child views vertically or horizontally in a // side-by-side fashion with spacing around and between the child views. The // child views are always sized according to their preferred size. If the // host's bounds provide insufficient space, child views will be clamped. // Excess space will not be distributed. class VIEWS_EXPORT BoxLayout : public LayoutManagerBase { … }; } // namespace views #endif // UI_VIEWS_LAYOUT_BOX_LAYOUT_H_