#include "ui/display/display_layout_builder.h"
#include <algorithm>
#include "ui/display/display.h"
#include "ui/display/util/display_util.h"
namespace display {
DisplayLayoutBuilder::DisplayLayoutBuilder(const DisplayLayout& layout)
: … { … }
DisplayLayoutBuilder::DisplayLayoutBuilder(int64_t primary_id)
: … { … }
DisplayLayoutBuilder::~DisplayLayoutBuilder() { … }
DisplayLayoutBuilder& DisplayLayoutBuilder::SetDefaultUnified(
bool default_unified) { … }
DisplayLayoutBuilder& DisplayLayoutBuilder::ClearPlacements() { … }
DisplayLayoutBuilder& DisplayLayoutBuilder::AddDisplayPlacement(
int64_t display_id,
int64_t parent_display_id,
DisplayPlacement::Position position,
int offset) { … }
DisplayLayoutBuilder& DisplayLayoutBuilder::AddDisplayPlacement(
const DisplayPlacement& placement) { … }
DisplayLayoutBuilder& DisplayLayoutBuilder::SetSecondaryPlacement(
int64_t secondary_id,
DisplayPlacement::Position position,
int offset) { … }
std::unique_ptr<DisplayLayout> DisplayLayoutBuilder::Build() { … }
}