Home | History | Annotate | Download | only in dom

Lines Matching refs:contextFeatures

28 #include "core/dom/ContextFeatures.h"
41 const char* ContextFeatures::supplementName()
43 return "ContextFeatures";
46 ContextFeatures* ContextFeatures::defaultSwitch()
48 DEFINE_STATIC_REF_WILL_BE_PERSISTENT(ContextFeatures, instance, (ContextFeatures::create(ContextFeaturesClient::empty())));
52 bool ContextFeatures::pagePopupEnabled(Document* document)
56 return document->contextFeatures().isEnabled(document, PagePopup, false);
59 bool ContextFeatures::mutationEventsEnabled(Document* document)
64 return document->contextFeatures().isEnabled(document, MutationEvents, true);
67 bool ContextFeatures::pushStateEnabled(Document* document)
69 return document->contextFeatures().isEnabled(document, PushState, true);
74 ContextFeatures::SupplementType::provideTo(page, ContextFeatures::supplementName(), ContextFeatures::create(client));
79 ContextFeatures* provided = static_cast<ContextFeatures*>(ContextFeatures::SupplementType::from(page, ContextFeatures::supplementName()));