chromium/ui/compositor/debug_utils.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#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) {}

}  // namespace

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) {}

}  // namespace ui