#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_HTML_PARSER_HTML_DOCUMENT_PARSER_FASTPATH_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_PARSER_HTML_DOCUMENT_PARSER_FASTPATH_H_
#include "base/containers/enum_set.h"
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/core/dom/parser_content_policy.h"
namespace WTF {
class String;
}
namespace blink {
class ContainerNode;
class Document;
class DocumentFragment;
class Element;
enum class HTMLFragmentParsingBehavior { … };
HTMLFragmentParsingBehaviorSet;
CORE_EXPORT bool TryParsingHTMLFragment(
const WTF::String& source,
Document& document,
ContainerNode& root_node,
Element& context_element,
ParserContentPolicy policy,
HTMLFragmentParsingBehaviorSet behavior,
bool* failed_because_unsupported_tag = nullptr);
void LogTagsForUnsupportedTagTypeFailure(DocumentFragment& fragment);
enum class HtmlFastPathResult { … };
}
#endif