// Copyright 2021 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_HTML_FORMS_SELECT_LIST_PART_TRAVERSAL_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_FORMS_SELECT_LIST_PART_TRAVERSAL_H_ #include "third_party/blink/renderer/core/core_export.h" #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h" namespace blink { class HTMLSelectListElement; class Node; // Used by <selectlist> to find child parts. The <selectlist> parts search // pierces into shadow roots, but ignores all children of nested <selectlist> // and <select> elements. So this traversal is similar to a FlatTreeTraversal, // except that when a <selectlist> or <select> element is encountered, that // element and its children are skipped over. class CORE_EXPORT SelectListPartTraversal { … }; } // namespace blink #endif // THIRD_PARTY_BLINK_RENDERER_CORE_HTML_FORMS_SELECT_LIST_PART_TRAVERSAL_H_