Shaka Player Embedded
|
#include <text.h>
Public Member Functions | |
Text (RefPtr< Document > document, const std::string &data) | |
std::string | node_name () const override |
![]() | |
CharacterData (NodeType type, RefPtr< Document > document) | |
CharacterData (NodeType type, RefPtr< Document > document, const std::string &data) | |
optional< std::string > | NodeValue () const override |
optional< std::string > | TextContent () const override |
size_t | length () const |
std::string | data () const |
void | SetData (const std::string &data) |
![]() | |
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 () |
Implements the Text interface for DOM. https://dom.spec.whatwg.org/#text
|
overridevirtual |
Implements shaka::js::dom::Node.