Shaka Player Embedded
|
#include <version_change_event.h>
Public Member Functions | |
IDBVersionChangeEvent (EventType event_type, uint64_t old_version, optional< uint64_t > new_version) | |
![]() | |
Event (EventType type) | |
void | Trace (memory::HeapTracer *tracer) const override |
bool | IsShortLived () const override |
bool | is_stopped () const |
bool | is_immediate_stopped () const |
void | PreventDefault () |
void | StopImmediatePropagation () |
void | StopPropagation () |
![]() | |
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 () |
Static Public Member Functions | |
static IDBVersionChangeEvent * | Create (const std::string &event_type, optional< IDBVersionChangeEventInit > init_data) |
![]() | |
static Event * | Create (const std::string &type) |
![]() | |
static void * | operator new[] (size_t size)=delete |
static void | operator delete[] (void *)=delete |
Public Attributes | |
const uint64_t | old_version |
const optional< uint64_t > | new_version |
![]() | |
const bool | bubbles = false |
const bool | cancelable = false |
const bool | is_trusted = false |
const std::string | type |
const double | time_stamp |
Member< EventTarget > | current_target |
Member< EventTarget > | target |
int | event_phase = NONE |
bool | default_prevented = false |
Additional Inherited Members | |
![]() | |
enum | EventPhase { NONE = 0, CAPTURING_PHASE = 1, AT_TARGET = 2, BUBBLING_PHASE = 3 } |
![]() | |
static constexpr const size_t | kInternalFieldCount = 2 |
![]() | |
static constexpr const uint64_t | kShortLiveDurationMs = 5000 |
![]() | |
Event (const std::string &type) | |
![]() | |
~BackingObject () override | |
See: https://w3c.github.io/IndexedDB/#idbversionchangeevent
Definition at line 40 of file version_change_event.h.
shaka::js::events::IDBVersionChangeEvent::IDBVersionChangeEvent | ( | EventType | event_type, |
uint64_t | old_version, | ||
optional< uint64_t > | new_version | ||
) |
Definition at line 23 of file version_change_event.cc.
|
inlinestatic |
Definition at line 47 of file version_change_event.h.
const optional<uint64_t> shaka::js::events::IDBVersionChangeEvent::new_version |
Definition at line 59 of file version_change_event.h.
const uint64_t shaka::js::events::IDBVersionChangeEvent::old_version |
Definition at line 58 of file version_change_event.h.