#include "ui/views/view_model.h"
#include <stddef.h>
#include "base/check_op.h"
#include "base/ranges/algorithm.h"
#include "ui/views/view.h"
namespace views {
ViewModelBase::~ViewModelBase() = default;
void ViewModelBase::Remove(size_t index) { … }
void ViewModelBase::Move(size_t index, size_t target_index) { … }
void ViewModelBase::MoveViewOnly(size_t index, size_t target_index) { … }
void ViewModelBase::Clear() { … }
std::optional<size_t> ViewModelBase::GetIndexOfView(const View* view) const { … }
ViewModelBase::ViewModelBase() = default;
void ViewModelBase::AddUnsafe(View* view, size_t index) { … }
}