#include "components/page_load_metrics/browser/observers/fenced_frames_page_load_metrics_observer.h"
#include "base/metrics/histogram_functions.h"
#include "components/page_load_metrics/browser/observers/core/largest_contentful_paint_handler.h"
#include "components/page_load_metrics/browser/page_load_metrics_util.h"
namespace internal {
const char kHistogramFencedFramesNavigationToFirstPaint[] = …;
const char kHistogramFencedFramesNavigationToFirstImagePaint[] = …;
const char kHistogramFencedFramesNavigationToFirstContentfulPaint[] = …;
const char kHistogramFencedFramesNavigationToLargestContentfulPaint2[] = …;
const char kHistogramFencedFramesFirstInputDelay4[] = …;
const char kHistogramFencedFramesCumulativeShiftScore[] = …;
const char kHistogramFencedFramesCumulativeShiftScoreMainFrame[] = …;
}
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
FencedFramesPageLoadMetricsObserver::OnStart(
content::NavigationHandle* navigation_handle,
const GURL& currently_committed_url,
bool started_in_foreground) { … }
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
FencedFramesPageLoadMetricsObserver::OnFencedFramesStart(
content::NavigationHandle* navigation_handle,
const GURL& currently_committed_url) { … }
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
FencedFramesPageLoadMetricsObserver::OnPrerenderStart(
content::NavigationHandle* navigation_handle,
const GURL& currently_committed_url) { … }
void FencedFramesPageLoadMetricsObserver::OnFirstPaintInPage(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void FencedFramesPageLoadMetricsObserver::OnFirstImagePaintInPage(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void FencedFramesPageLoadMetricsObserver::OnFirstContentfulPaintInPage(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void FencedFramesPageLoadMetricsObserver::OnFirstInputInPage(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void FencedFramesPageLoadMetricsObserver::OnComplete(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
FencedFramesPageLoadMetricsObserver::FlushMetricsOnAppEnterBackground(
const page_load_metrics::mojom::PageLoadTiming& timing) { … }
void FencedFramesPageLoadMetricsObserver::RecordSessionEndHistograms(
const page_load_metrics::mojom::PageLoadTiming& main_frame_timing) { … }