#include "third_party/blink/renderer/core/css/check_pseudo_has_fast_reject_filter.h"
#include "third_party/blink/renderer/core/css/css_selector.h"
namespace blink {
namespace {
enum { … };
inline bool IsExcludedAttribute(const AtomicString& name) { … }
inline unsigned GetTagHash(const AtomicString& tag_name) { … }
inline unsigned GetClassHash(const AtomicString& class_name) { … }
inline unsigned GetIdHash(const AtomicString& id) { … }
inline unsigned GetAttributeHash(const AtomicString& attribute_name) { … }
}
void CheckPseudoHasFastRejectFilter::AddElementIdentifierHashes(
const Element& element) { … }
bool CheckPseudoHasFastRejectFilter::FastReject(
const Vector<unsigned>& pseudo_has_argument_hashes) const { … }
void CheckPseudoHasFastRejectFilter::CollectPseudoHasArgumentHashes(
Vector<unsigned>& pseudo_has_argument_hashes,
const CSSSelector* simple_selector) { … }
void CheckPseudoHasFastRejectFilter::AllocateBloomFilter() { … }
}