chromium/ui/views/debug/debugger_utils.cc

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

#include "ui/views/debug/debugger_utils.h"

#include <inttypes.h>

#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"

namespace views::debug {

namespace {

AttributeStrings;

constexpr int kElementIndent =;
constexpr int kAttributeIndent =;

std::string ToString(bool val) {}

std::string ToString(int val) {}

std::string ToString(ViewDebugWrapper::BoundsTuple bounds) {}

// intptr_t can alias to int, preventing the use of overloading for ToString.
std::string PtrToString(intptr_t val) {}

// Adds attribute string of the form <attribute_name>="<attribute_value>".
template <typename T>
void AddAttributeString(AttributeStrings& attributes,
                        const std::string& name,
                        const T& value) {}

void AddPtrAttributeString(AttributeStrings& attributes,
                           const std::string& name,
                           const std::optional<intptr_t>& value) {}

AttributeStrings GetAttributeStrings(ViewDebugWrapper* view, bool verbose) {}

std::string GetPaddedLine(int current_depth, bool attribute_line = false) {}

void PrintViewHierarchyImpl(std::ostream* out,
                            ViewDebugWrapper* view,
                            int current_depth,
                            bool verbose,
                            int target_depth,
                            size_t column_limit) {}

}  // namespace

std::optional<intptr_t> ViewDebugWrapper::GetAddress() {}

void PrintViewHierarchy(std::ostream* out,
                        ViewDebugWrapper* view,
                        bool verbose,
                        int depth,
                        size_t column_limit) {}

}  // namespace views::debug