#include "third_party/blink/renderer/core/layout/layout_embedded_content.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/core/accessibility/ax_object_cache.h"
#include "third_party/blink/renderer/core/exported/web_plugin_container_impl.h"
#include "third_party/blink/renderer/core/frame/embedded_content_view.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/remote_frame.h"
#include "third_party/blink/renderer/core/frame/remote_frame_view.h"
#include "third_party/blink/renderer/core/html/fenced_frame/html_fenced_frame_element.h"
#include "third_party/blink/renderer/core/html/html_frame_element_base.h"
#include "third_party/blink/renderer/core/html/html_plugin_element.h"
#include "third_party/blink/renderer/core/layout/geometry/physical_offset.h"
#include "third_party/blink/renderer/core/layout/hit_test_location.h"
#include "third_party/blink/renderer/core/layout/hit_test_result.h"
#include "third_party/blink/renderer/core/layout/layout_replaced.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
#include "third_party/blink/renderer/core/paint/embedded_content_painter.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
#include "third_party/blink/renderer/platform/transforms/affine_transform.h"
#include "ui/gfx/geometry/point_conversions.h"
#include "ui/gfx/geometry/point_f.h"
namespace blink {
LayoutEmbeddedContent::LayoutEmbeddedContent(HTMLFrameOwnerElement* element)
: … { … }
void LayoutEmbeddedContent::WillBeDestroyed() { … }
FrameView* LayoutEmbeddedContent::ChildFrameView() const { … }
LayoutView* LayoutEmbeddedContent::ChildLayoutView() const { … }
WebPluginContainerImpl* LayoutEmbeddedContent::Plugin() const { … }
EmbeddedContentView* LayoutEmbeddedContent::GetEmbeddedContentView() const { … }
const std::optional<PhysicalSize> LayoutEmbeddedContent::FrozenFrameSize()
const { … }
AffineTransform LayoutEmbeddedContent::EmbeddedContentTransform() const { … }
PhysicalOffset LayoutEmbeddedContent::EmbeddedContentFromBorderBox(
const PhysicalOffset& offset) const { … }
gfx::PointF LayoutEmbeddedContent::EmbeddedContentFromBorderBox(
const gfx::PointF& point) const { … }
PhysicalOffset LayoutEmbeddedContent::BorderBoxFromEmbeddedContent(
const PhysicalOffset& offset) const { … }
gfx::Rect LayoutEmbeddedContent::BorderBoxFromEmbeddedContent(
const gfx::Rect& rect) const { … }
PaintLayerType LayoutEmbeddedContent::LayerTypeRequired() const { … }
bool LayoutEmbeddedContent::PointOverResizer(
const HitTestResult& result,
const HitTestLocation& location,
const PhysicalOffset& accumulated_offset) const { … }
void LayoutEmbeddedContent::PropagateZoomFactor(double zoom_factor) { … }
bool LayoutEmbeddedContent::NodeAtPointOverEmbeddedContentView(
HitTestResult& result,
const HitTestLocation& hit_test_location,
const PhysicalOffset& accumulated_offset,
HitTestPhase phase) { … }
bool LayoutEmbeddedContent::NodeAtPoint(
HitTestResult& result,
const HitTestLocation& hit_test_location,
const PhysicalOffset& accumulated_offset,
HitTestPhase phase) { … }
void LayoutEmbeddedContent::StyleDidChange(StyleDifference diff,
const ComputedStyle* old_style) { … }
void LayoutEmbeddedContent::PaintReplaced(
const PaintInfo& paint_info,
const PhysicalOffset& paint_offset) const { … }
CursorDirective LayoutEmbeddedContent::GetCursor(const PhysicalOffset& point,
ui::Cursor& cursor) const { … }
PhysicalRect LayoutEmbeddedContent::ReplacedContentRectFrom(
const PhysicalRect& base_content_rect) const { … }
void LayoutEmbeddedContent::UpdateOnEmbeddedContentViewChange() { … }
void LayoutEmbeddedContent::UpdateGeometry(
EmbeddedContentView& embedded_content_view) { … }
bool LayoutEmbeddedContent::IsThrottledFrameView() const { … }
}