#include "third_party/blink/renderer/core/timing/performance_event_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/dom/dom_node_ids.h"
#include "third_party/blink/renderer/core/frame/frame.h"
#include "third_party/blink/renderer/core/performance_entry_names.h"
#include "third_party/blink/renderer/core/timing/dom_window_performance.h"
#include "third_party/blink/renderer/core/timing/performance.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/traced_value.h"
namespace blink {
PerformanceEventTiming* PerformanceEventTiming::Create(
const AtomicString& event_type,
EventTimingReportingInfo reporting_info,
bool cancelable,
Node* target,
DOMWindow* source) { … }
PerformanceEventTiming* PerformanceEventTiming::CreateFirstInputTiming(
PerformanceEventTiming* entry) { … }
PerformanceEventTiming::PerformanceEventTiming(
const AtomicString& event_type,
const AtomicString& entry_type,
EventTimingReportingInfo reporting_info,
bool cancelable,
Node* target,
DOMWindow* source)
: … { … }
PerformanceEventTiming::~PerformanceEventTiming() = default;
PerformanceEntryType PerformanceEventTiming::EntryTypeEnum() const { … }
DOMHighResTimeStamp PerformanceEventTiming::processingStart() const { … }
DOMHighResTimeStamp PerformanceEventTiming::processingEnd() const { … }
Node* PerformanceEventTiming::target() const { … }
uint32_t PerformanceEventTiming::interactionId() const { … }
void PerformanceEventTiming::SetInteractionId(uint32_t interaction_id) { … }
bool PerformanceEventTiming::HasKnownInteractionID() { … }
uint32_t PerformanceEventTiming::interactionOffset() const { … }
void PerformanceEventTiming::SetInteractionIdAndOffset(
uint32_t interaction_id,
uint32_t interaction_offset) { … }
void PerformanceEventTiming::SetDuration(double duration) { … }
void PerformanceEventTiming::BuildJSONValue(V8ObjectBuilder& builder) const { … }
void PerformanceEventTiming::Trace(Visitor* visitor) const { … }
std::unique_ptr<TracedValue> PerformanceEventTiming::ToTracedValue(
Frame* frame) const { … }
}