#include "ui/display/unified_desktop_utils.h"
#include <map>
#include <set>
#include "base/containers/contains.h"
#include "base/containers/stack.h"
#include "base/logging.h"
#include "base/not_fatal_until.h"
#include "base/ranges/algorithm.h"
#include "ui/display/types/display_constants.h"
namespace display {
namespace {
struct Cell { … };
DisplayChildToParentMap;
bool ValidateDisplayGraph(const DisplayChildToParentMap& child_to_parent,
int64_t primary_id) { … }
UnifiedDesktopLayoutMatrix BuildDisplayMatrix(const DisplayLayout& layout) { … }
}
bool ValidateMatrix(const UnifiedDesktopLayoutMatrix& matrix) { … }
bool BuildUnifiedDesktopMatrix(const DisplayIdList& ids_list,
const DisplayLayout& layout,
UnifiedDesktopLayoutMatrix* out_matrix) { … }
}