chromium/third_party/blink/renderer/core/paint/timing/paint_timing_visualizer.cc

// Copyright 2019 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/timing/paint_timing_visualizer.h"

#include "third_party/blink/renderer/core/dom/dom_node_ids.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/layout/layout_object.h"
#include "third_party/blink/renderer/core/loader/resource/image_resource_content.h"
#include "third_party/blink/renderer/core/paint/timing/paint_timing_detector.h"
#include "third_party/blink/renderer/core/scroll/scrollable_area.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/traced_value.h"
#include "ui/gfx/geometry/quad_f.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_conversions.h"

namespace blink {

namespace {

void CreateQuad(TracedValue* value, const char* name, const gfx::QuadF& quad) {}

}  // namespace

PaintTimingVisualizer::PaintTimingVisualizer() {}

PaintTimingVisualizer::~PaintTimingVisualizer() {}

void PaintTimingVisualizer::RecordRects(const gfx::Rect& rect,
                                        std::unique_ptr<TracedValue>& value) {}
void PaintTimingVisualizer::RecordObject(const LayoutObject& object,
                                         std::unique_ptr<TracedValue>& value) {}

void PaintTimingVisualizer::DumpTextDebuggingRect(const LayoutObject& object,
                                                  const gfx::RectF& rect) {}

void PaintTimingVisualizer::DumpImageDebuggingRect(const LayoutObject& object,
                                                   const gfx::RectF& rect,
                                                   bool is_loaded,
                                                   const KURL& url) {}

void PaintTimingVisualizer::DumpTrace(std::unique_ptr<TracedValue> value) {}

void PaintTimingVisualizer::RecordMainFrameViewport(
    LocalFrameView& frame_view) {}

// static
bool PaintTimingVisualizer::IsTracingEnabled() {}

void PaintTimingVisualizer::OnTraceLogEnabled() {}

void PaintTimingVisualizer::OnTraceLogDisabled() {}

}  // namespace blink