#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_FOREIGN_LAYER_DISPLAY_ITEM_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_PAINT_FOREIGN_LAYER_DISPLAY_ITEM_H_
#include "base/dcheck_is_on.h"
#include "cc/layers/layer.h"
#include "third_party/blink/renderer/platform/graphics/paint/display_item.h"
#include "third_party/blink/renderer/platform/graphics/paint/display_item_client.h"
#include "third_party/blink/renderer/platform/graphics/paint/property_tree_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/platform_export.h"
#include "third_party/blink/renderer/platform/wtf/casting.h"
namespace blink {
class DisplayItemClient;
class GraphicsContext;
class PLATFORM_EXPORT ForeignLayerDisplayItem : public DisplayItem { … };
template <>
struct DowncastTraits<ForeignLayerDisplayItem> { … };
PLATFORM_EXPORT void RecordForeignLayer(
GraphicsContext& context,
const DisplayItemClient& client,
DisplayItem::Type type,
scoped_refptr<cc::Layer> layer,
const gfx::Point& origin,
const PropertyTreeStateOrAlias* properties = nullptr);
}
#endif