// Copyright 2018 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_FLEX_LAYOUT_FLEXIBLE_BOX_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_FLEX_LAYOUT_FLEXIBLE_BOX_H_ #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/core/layout/layout_block.h" namespace blink { struct DevtoolsFlexInfo; // Devtools uses this info to highlight lines and items on its flexbox overlay. // Devtools usually reads such info from the layout or fragment trees. But // Layout doesn't store this flex line -> flex items hierarchy there, or // anywhere, because neither paint nor ancestor layout needs it. So the NG flex // layout algorithm will fill one of these in when devtools requests it. class CORE_EXPORT LayoutFlexibleBox : public LayoutBlock { … }; template <> struct DowncastTraits<LayoutFlexibleBox> { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_FLEX_LAYOUT_FLEXIBLE_BOX_H_