#include "third_party/blink/renderer/core/resize_observer/resize_observation.h"
#include "third_party/blink/renderer/core/display_lock/display_lock_utilities.h"
#include "third_party/blink/renderer/core/dom/flat_tree_traversal.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#include "third_party/blink/renderer/core/resize_observer/resize_observer.h"
#include "third_party/blink/renderer/core/resize_observer/resize_observer_box_options.h"
#include "third_party/blink/renderer/core/resize_observer/resize_observer_utilities.h"
#include "third_party/blink/renderer/core/svg/svg_graphics_element.h"
#include "third_party/blink/renderer/platform/geometry/layout_unit.h"
#include "ui/gfx/geometry/size_f.h"
namespace blink {
namespace {
gfx::SizeF ComputeZoomAdjustedSVGBox(ResizeObserverBoxOptions box_option,
const LayoutObject& layout_object) { … }
constexpr LogicalSize kInitialObservationSize(kIndefiniteSize, kIndefiniteSize);
}
ResizeObservation::ResizeObservation(Element* target,
ResizeObserver* observer,
ResizeObserverBoxOptions observed_box)
: … { … }
bool ResizeObservation::ObservationSizeOutOfSync() { … }
void ResizeObservation::SetObservationSize(
const LogicalSize& observation_size) { … }
size_t ResizeObservation::TargetDepth() { … }
LogicalSize ResizeObservation::ComputeTargetSize() const { … }
void ResizeObservation::Trace(Visitor* visitor) const { … }
}