#include "ui/views/layout/proposed_layout.h"
#include <map>
#include <sstream>
#include <string>
#include "base/ranges/algorithm.h"
#include "base/strings/strcat.h"
#include "ui/gfx/animation/tween.h"
#include "ui/views/view.h"
namespace views {
namespace {
SizeBound SizeBoundValueBetween(double value,
const SizeBound& start,
const SizeBound& target) { … }
SizeBounds SizeBoundsBetween(double value,
const SizeBounds& start,
const SizeBounds& target) { … }
}
bool ChildLayout::operator==(const ChildLayout& other) const { … }
ChildLayout* ProposedLayout::GetLayoutFor(const View* child_view) { … }
const ChildLayout* ProposedLayout::GetLayoutFor(const View* child_view) const { … }
std::string ChildLayout::ToString() const { … }
ProposedLayout::ProposedLayout() = default;
ProposedLayout::ProposedLayout(const ProposedLayout& other) = default;
ProposedLayout::ProposedLayout(ProposedLayout&& other) = default;
ProposedLayout::ProposedLayout(
const gfx::Size& size,
const std::initializer_list<ChildLayout>& children)
: … { … }
ProposedLayout::~ProposedLayout() = default;
ProposedLayout& ProposedLayout::operator=(const ProposedLayout& other) =
default;
ProposedLayout& ProposedLayout::operator=(ProposedLayout&& other) = default;
std::string ProposedLayout::ToString() const { … }
ProposedLayout ProposedLayoutBetween(double value,
const ProposedLayout& start,
const ProposedLayout& target) { … }
}