#include "third_party/blink/renderer/core/resize_observer/resize_observer_utilities.h"
#include "third_party/blink/renderer/core/geometry/dom_rect_read_only.h"
#include "third_party/blink/renderer/core/layout/adjust_for_absolute_zoom.h"
#include "third_party/blink/renderer/core/layout/geometry/logical_offset.h"
#include "third_party/blink/renderer/core/layout/layout_box.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/resize_observer/resize_observer_box_options.h"
#include "third_party/blink/renderer/core/style/computed_style.h"
#include "third_party/blink/renderer/platform/geometry/layout_unit.h"
#include "ui/gfx/geometry/size_f.h"
namespace blink {
namespace {
LogicalOffset ComputePaintOffset(const LayoutObject& layout_object,
const ComputedStyle& style) { … }
}
gfx::SizeF ResizeObserverUtilities::ComputeZoomAdjustedBox(
ResizeObserverBoxOptions box_option,
const LayoutBox& layout_box,
const ComputedStyle& style) { … }
gfx::SizeF ResizeObserverUtilities::ComputeSnappedDevicePixelContentBox(
LogicalSize box_size,
const LayoutObject& layout_object,
const ComputedStyle& style) { … }
gfx::SizeF ResizeObserverUtilities::ComputeSnappedDevicePixelContentBox(
const gfx::SizeF& box_size,
const LayoutObject& layout_object,
const ComputedStyle& style) { … }
DOMRectReadOnly* ResizeObserverUtilities::ZoomAdjustedPhysicalRect(
PhysicalRect content_rect,
const ComputedStyle& style) { … }
}