#include "third_party/blink/renderer/core/layout/depth_ordered_layout_object_list.h"
#include <algorithm>
#include "third_party/blink/renderer/core/css/style_engine.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/core/layout/legacy_layout_tree_walking.h"
namespace blink {
class DepthOrderedLayoutObjectListData
: public GarbageCollected<DepthOrderedLayoutObjectListData> { … };
DepthOrderedLayoutObjectList::DepthOrderedLayoutObjectList()
: … { … }
DepthOrderedLayoutObjectList::~DepthOrderedLayoutObjectList() = default;
int DepthOrderedLayoutObjectList::size() const { … }
bool DepthOrderedLayoutObjectList::IsEmpty() const { … }
namespace {
bool ListModificationAllowedFor(const LayoutObject& object) { … }
}
void DepthOrderedLayoutObjectList::Add(LayoutObject& object) { … }
void DepthOrderedLayoutObjectList::Remove(LayoutObject& object) { … }
void DepthOrderedLayoutObjectList::Clear() { … }
void LayoutObjectWithDepth::Trace(Visitor* visitor) const { … }
unsigned LayoutObjectWithDepth::DetermineDepth(LayoutObject* object) { … }
const HeapHashSet<Member<LayoutObject>>&
DepthOrderedLayoutObjectList::Unordered() const { … }
const HeapVector<LayoutObjectWithDepth>&
DepthOrderedLayoutObjectList::Ordered() { … }
void DepthOrderedLayoutObjectList::Trace(Visitor* visitor) const { … }
}