chromium/third_party/blink/renderer/core/timing/performance_element_timing.cc

// Copyright 2018 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/timing/performance_element_timing.h"

#include "third_party/blink/renderer/bindings/core/v8/v8_object_builder.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/performance_entry_names.h"
#include "third_party/blink/renderer/core/timing/performance.h"

namespace blink {

// static
PerformanceElementTiming* PerformanceElementTiming::Create(
    const AtomicString& name,
    const String& url,
    const gfx::RectF& intersection_rect,
    DOMHighResTimeStamp render_time,
    DOMHighResTimeStamp load_time,
    const AtomicString& identifier,
    int naturalWidth,
    int naturalHeight,
    const AtomicString& id,
    Element* element,
    DOMWindow* source) {}

PerformanceElementTiming::PerformanceElementTiming(
    const AtomicString& name,
    DOMHighResTimeStamp start_time,
    const String& url,
    const gfx::RectF& intersection_rect,
    DOMHighResTimeStamp render_time,
    DOMHighResTimeStamp load_time,
    const AtomicString& identifier,
    int naturalWidth,
    int naturalHeight,
    const AtomicString& id,
    Element* element,
    DOMWindow* source)
    :{}

PerformanceElementTiming::~PerformanceElementTiming() = default;

const AtomicString& PerformanceElementTiming::entryType() const {}

PerformanceEntryType PerformanceElementTiming::EntryTypeEnum() const {}

Element* PerformanceElementTiming::element() const {}

std::unique_ptr<TracedValue> PerformanceElementTiming::ToTracedValue() const {}

void PerformanceElementTiming::BuildJSONValue(V8ObjectBuilder& builder) const {}

void PerformanceElementTiming::Trace(Visitor* visitor) const {}

}  // namespace blink