// 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. #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_METADATA_PROVIDER_H_ #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_METADATA_PROVIDER_H_ #include "base/time/time.h" #include "build/build_config.h" #include "cc/trees/render_frame_metadata.h" #include "content/common/content_export.h" namespace content { // Notifies all Observer of the submission of CompositorFrames which cause a // change in RenderFrameMetadata. // // When ReportAllFrameSubmissionsForTesting(true) is called, this will be // notified of all frame submissions. // // An Observer is provided, so that multiple sources can all observe the // metadata for a given RenderWidgetHost. class CONTENT_EXPORT RenderFrameMetadataProvider { … }; } // namespace content #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_METADATA_PROVIDER_H_