webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Friends | List of all members
WebCore::CustomElementRegistry Class Reference

#include <CustomElementRegistry.h>

Inheritance diagram for WebCore::CustomElementRegistry:
WTF::RefCounted< CustomElementRegistry > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

 ~CustomElementRegistry ()
 
void addElementDefinition (Ref< JSCustomElementInterface > &&)
 
bool & elementDefinitionIsRunning ()
 
JSCustomElementInterfacefindInterface (const Element &) const
 
JSCustomElementInterfacefindInterface (const QualifiedName &) const
 
JSCustomElementInterfacefindInterface (const AtomicString &) const
 
JSCustomElementInterfacefindInterface (const JSC::JSObject *) const
 
bool containsConstructor (const JSC::JSObject *) const
 
JSC::JSValue get (const AtomicString &)
 
HashMap< AtomicString, Ref< DeferredPromise > > & promiseMap ()
 
- Public Member Functions inherited from WTF::RefCounted< CustomElementRegistry >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< CustomElementRegistrycreate (DOMWindow &)
 

Friends

class ElementDefinitionIsRunningSetForScope
 

Additional Inherited Members

- Protected Member Functions inherited from WTF::RefCounted< CustomElementRegistry >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Constructor & Destructor Documentation

◆ ~CustomElementRegistry()

CustomElementRegistry::~CustomElementRegistry ( )

Member Function Documentation

◆ addElementDefinition()

void CustomElementRegistry::addElementDefinition ( Ref< JSCustomElementInterface > &&  elementInterface)

◆ containsConstructor()

bool CustomElementRegistry::containsConstructor ( const JSC::JSObject constructor) const

◆ create()

Ref< CustomElementRegistry > CustomElementRegistry::create ( DOMWindow window)
static

◆ elementDefinitionIsRunning()

bool& WebCore::CustomElementRegistry::elementDefinitionIsRunning ( )
inline

◆ findInterface() [1/4]

JSCustomElementInterface * CustomElementRegistry::findInterface ( const Element element) const

◆ findInterface() [2/4]

JSCustomElementInterface * CustomElementRegistry::findInterface ( const QualifiedName name) const

◆ findInterface() [3/4]

JSCustomElementInterface * CustomElementRegistry::findInterface ( const AtomicString name) const

◆ findInterface() [4/4]

JSCustomElementInterface * CustomElementRegistry::findInterface ( const JSC::JSObject constructor) const

◆ get()

JSC::JSValue CustomElementRegistry::get ( const AtomicString name)

◆ promiseMap()

HashMap<AtomicString, Ref<DeferredPromise> >& WebCore::CustomElementRegistry::promiseMap ( )
inline

Friends And Related Function Documentation

◆ ElementDefinitionIsRunningSetForScope

friend class ElementDefinitionIsRunningSetForScope
friend

The documentation for this class was generated from the following files: