#include "ui/views/view_utils.h"
#include <sstream>
#include "base/command_line.h"
#include "base/debug/stack_trace.h"
#include "base/logging.h"
#include "ui/views/views_switches.h"
DEFINE_EXPORTED_UI_CLASS_PROPERTY_TYPE(…)
namespace views {
DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(…)
namespace {
std::string GetViewTreeAsString(View* view) { … }
}
ViewDebugWrapperImpl::ViewDebugWrapperImpl(View* view) : … { … }
ViewDebugWrapperImpl::~ViewDebugWrapperImpl() = default;
std::string ViewDebugWrapperImpl::GetViewClassName() { … }
int ViewDebugWrapperImpl::GetID() { … }
debug::ViewDebugWrapper::BoundsTuple ViewDebugWrapperImpl::GetBounds() { … }
bool ViewDebugWrapperImpl::GetVisible() { … }
bool ViewDebugWrapperImpl::GetNeedsLayout() { … }
bool ViewDebugWrapperImpl::GetEnabled() { … }
std::vector<debug::ViewDebugWrapper*> ViewDebugWrapperImpl::GetChildren() { … }
void ViewDebugWrapperImpl::ForAllProperties(PropCallback callback) { … }
void PrintViewHierarchy(View* view, bool verbose, int depth) { … }
std::string GetViewDebugInfo(View* view) { … }
}