// 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_CSS_CONTAINER_STATE_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CONTAINER_STATE_H_ namespace blink { // Enum classes that represents whether a sticky positioned element is stuck to // a scroll container edge for a given axis. Used for evaluating stuck state // container queries. enum class ContainerStuckLogical { … }; enum class ContainerStuckPhysical { … }; inline ContainerStuckLogical Flip(ContainerStuckLogical stuck) { … } // Flags that represent whether a scroll-snapped query container is snapped to // its scroll container in a given direction. enum class ContainerSnapped { … }; ContainerSnappedFlags; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CONTAINER_STATE_H_