chromium/third_party/blink/renderer/core/paint/paint_property_tree_printer.cc

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

#include "third_party/blink/renderer/core/paint/paint_property_tree_printer.h"

#include <iomanip>
#include <sstream>

#include "third_party/blink/renderer/core/editing/frame_selection.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/visual_viewport.h"
#include "third_party/blink/renderer/core/layout/layout_embedded_content.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/core/paint/fragment_data_iterator.h"
#include "third_party/blink/renderer/core/paint/object_paint_properties.h"
#include "third_party/blink/renderer/core/view_transition/view_transition.h"
#include "third_party/blink/renderer/core/view_transition/view_transition_utils.h"

#if DCHECK_IS_ON()

namespace blink {
namespace {

class NodeCollector {};

class FrameViewPropertyTreePrinter : public PropertyTreePrinter {};

class TransformNodeCollector : public NodeCollector {};

class ClipNodeCollector : public NodeCollector {};

class EffectNodeCollector : public NodeCollector {};

class ScrollNodeCollector : public NodeCollector {};

void SetDebugName(const PaintPropertyNode* node, const String& debug_name) {}

void SetDebugName(const PaintPropertyNode* node,
                  const String& name,
                  const LayoutObject& object) {}

}  // namespace

namespace paint_property_tree_printer {

void UpdateDebugNames(const VisualViewport& viewport) {}

void UpdateDebugNames(const LayoutObject& object,
                      ObjectPaintProperties& properties) {}

}  // namespace paint_property_tree_printer

}  // namespace blink

CORE_EXPORT void ShowAllPropertyTrees(const blink::LocalFrameView& rootFrame) {}

void ShowTransformPropertyTree(const blink::LocalFrameView& rootFrame) {}

void ShowClipPropertyTree(const blink::LocalFrameView& rootFrame) {}

void ShowEffectPropertyTree(const blink::LocalFrameView& rootFrame) {}

void ShowScrollPropertyTree(const blink::LocalFrameView& rootFrame) {}

String TransformPropertyTreeAsString(const blink::LocalFrameView& rootFrame) {}

String ClipPropertyTreeAsString(const blink::LocalFrameView& rootFrame) {}

String EffectPropertyTreeAsString(const blink::LocalFrameView& rootFrame) {}

String ScrollPropertyTreeAsString(const blink::LocalFrameView& rootFrame) {}

#endif  // DCHECK_IS_ON()