|
| Element (RefPtr< Document > document, const std::string &local_name, optional< std::string > namespace_uri, optional< std::string > namespace_prefix) |
|
void | Trace (memory::HeapTracer *tracer) const override |
|
std::string | tag_name () const |
|
std::string | node_name () const override |
|
optional< std::string > | NodeValue () const override |
|
optional< std::string > | TextContent () const override |
|
bool | has_attributes () const |
|
optional< std::string > | GetAttribute (const std::string &name) const |
|
optional< std::string > | GetAttributeNS (const std::string &ns, const std::string &name) const |
|
void | SetAttribute (const std::string &key, const std::string &value) |
|
void | SetAttributeNS (const std::string &ns, const std::string &key, const std::string &value) |
|
bool | HasAttribute (const std::string &name) const |
|
bool | HasAttributeNS (const std::string &ns, const std::string &name) const |
|
virtual void | RemoveAttribute (const std::string &attr) |
|
void | RemoveAttributeNS (const std::string &ns, const std::string &attr) |
|
std::vector< RefPtr< Attr > > | attributes () const |
|
| ContainerNode (NodeType type, RefPtr< Document > document) |
|
virtual std::vector< RefPtr< Element > > | GetElementsByTagName (const std::string &name) const |
|
ExceptionOr< RefPtr< Element > > | QuerySelector (const std::string &query) const |
|
| Node (NodeType type, RefPtr< Document > document) |
|
void | Trace (memory::HeapTracer *tracer) const override |
|
bool | IsShortLived () const override |
|
RefPtr< Document > | document () const |
|
RefPtr< Node > | parent_node () const |
|
std::vector< RefPtr< Node > > | child_nodes () const |
|
NodeType | node_type () const |
|
RefPtr< Node > | first_child () const |
|
RefPtr< Node > | last_child () const |
|
RefPtr< Node > | AppendChild (RefPtr< Node > new_child) |
|
RefPtr< Node > | RemoveChild (RefPtr< Node > to_remove) |
|
bool | is_document () const |
|
bool | is_element () const |
|
bool | is_char_data () const |
|
| EventTarget () |
|
void | Trace (memory::HeapTracer *tracer) const override |
|
void | AddEventListener (const std::string &type, Listener callback) |
|
void | SetCppEventListener (EventType type, std::function< void()> callback) |
|
void | RemoveEventListener (const std::string &type, Listener callback) |
|
void | UnsetCppEventListener (EventType type) |
|
ExceptionOr< bool > | DispatchEvent (RefPtr< Event > event) |
|
ExceptionOr< bool > | DispatchEventInternal (RefPtr< Event > event, bool *did_listeners_throw) |
|
template<typename EventType , typename... Args> |
std::shared_ptr< ThreadEvent< bool > > | ScheduleEvent (Args &&... args) |
|
template<typename EventType , typename... Args> |
ExceptionOr< bool > | RaiseEvent (Args... args) |
|
| BackingObject () |
|
void | Trace (memory::HeapTracer *tracer) const override |
|
bool | IsRootedAlive () const override |
|
std::string | name () const |
|
virtual BackingObjectFactoryBase * | factory () const =0 |
|
bool | DerivedFrom (const std::string &base) |
|
ReturnVal< JsValue > | JsThis () const |
|
void | SetJsThis (Handle< JsObject > this_) |
|
virtual | ~Traceable () |
|