#include "third_party/blink/renderer/core/timing/largest_contentful_paint.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/platform/wtf/text/atomic_string.h"
namespace blink {
LargestContentfulPaint::LargestContentfulPaint(
double start_time,
DOMHighResTimeStamp render_time,
uint64_t size,
DOMHighResTimeStamp load_time,
DOMHighResTimeStamp first_animated_frame_time,
const AtomicString& id,
const String& url,
Element* element,
DOMWindow* source,
bool is_triggered_by_soft_navigation)
: … { … }
LargestContentfulPaint::~LargestContentfulPaint() = default;
const AtomicString& LargestContentfulPaint::entryType() const { … }
PerformanceEntryType LargestContentfulPaint::EntryTypeEnum() const { … }
Element* LargestContentfulPaint::element() const { … }
void LargestContentfulPaint::BuildJSONValue(V8ObjectBuilder& builder) const { … }
void LargestContentfulPaint::Trace(Visitor* visitor) const { … }
}