#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "ui/compositor/debug_utils.h"
#include <stddef.h>
#include <iomanip>
#include <optional>
#include <ostream>
#include <string>
#include "base/logging.h"
#include "base/numerics/angle_conversions.h"
#include "cc/trees/layer_tree_host.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/transform.h"
#include "ui/gfx/interpolated_transform.h"
namespace ui {
namespace {
void PrintLayerHierarchyImp(const Layer* layer,
int indent,
const gfx::Point& mouse_location,
std::ostringstream* out,
DebugLayerChildCallback child_cb) { … }
}
void PrintLayerHierarchy(const Layer* layer, const gfx::Point& mouse_location) { … }
void PrintLayerHierarchy(const Layer* layer,
const gfx::Point& mouse_location,
std::ostringstream* out,
DebugLayerChildCallback child_cb) { … }
}