// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_SCROLL_OFFSET_RANGE_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_SCROLL_OFFSET_RANGE_H_ #include <optional> #include "third_party/blink/renderer/platform/geometry/layout_unit.h" #include "third_party/blink/renderer/platform/text/writing_direction_mode.h" #include "ui/gfx/geometry/vector2d_f.h" namespace blink { // Represents a range of scroll translation offsets that can be applied to a box // in both axes. A missing value means an unbounded range in that direction. struct PhysicalScrollRange { … }; // Similar to PhysicalScrollRange, but using the logical axes of the box. struct LogicalScrollRange { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_GEOMETRY_SCROLL_OFFSET_RANGE_H_