#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 {
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 { … }
}