#include <sbMediacoreWrapper.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_NSICLASSINFO NS_DECL_NSIDOMEVENTLISTENER NS_DECL_SBIMEDIACOREVOTINGPARTICIPANT NS_DECL_SBIMEDIACOREWRAPPER | sbMediacoreWrapper () |
nsresult | Init () |
virtual nsresult | OnInitBaseMediacore () |
virtual nsresult | OnGetCapabilities () |
virtual nsresult | OnShutdown () |
virtual nsresult | OnInitBaseMediacorePlaybackControl () |
virtual nsresult | OnSetUri (nsIURI *aURI) |
virtual nsresult | OnGetDuration (PRUint64 *aDuration) |
virtual nsresult | OnGetPosition (PRUint64 *aPosition) |
virtual nsresult | OnSetPosition (PRUint64 aPosition) |
virtual nsresult | OnGetIsPlayingAudio (PRBool *aIsPlayingAudio) |
virtual nsresult | OnGetIsPlayingVideo (PRBool *aIsPlayingVideo) |
virtual nsresult | OnPlay () |
virtual nsresult | OnPause () |
virtual nsresult | OnStop () |
virtual nsresult | OnSeek (PRUint64 aPosition, PRUint32 aFlag) |
virtual nsresult | OnInitBaseMediacoreVolumeControl () |
virtual nsresult | OnSetMute (PRBool aMute) |
virtual nsresult | OnSetVolume (PRFloat64 aVolume) |
Public Member Functions inherited from sbBaseMediacore | |
NS_DECL_ISUPPORTS NS_DECL_NSICLASSINFO NS_DECL_SBIMEDIACORE | sbBaseMediacore () |
nsresult | InitBaseMediacore () |
nsresult | SetInstanceName (const nsAString &aInstanceName) |
nsresult | SetCapabilities (sbIMediacoreCapabilities *aCapabilities) |
nsresult | SetStatus (sbIMediacoreStatus *aStatus) |
virtual nsresult | OnSetSequencer (sbIMediacoreSequencer *aSequencer) |
Public Member Functions inherited from sbIMediacore | |
void | shutdown () |
Public Member Functions inherited from sbBaseMediacorePlaybackControl | |
NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACOREPLAYBACKCONTROL | sbBaseMediacorePlaybackControl () |
nsresult | InitBaseMediacorePlaybackControl () |
Public Member Functions inherited from sbIMediacorePlaybackControl | |
void | play () |
void | pause () |
void | stop () |
void | seek (in unsigned long long position, in unsigned long flags) |
Public Member Functions inherited from sbIMediacoreEventTarget | |
void | addListener (in sbIMediacoreEventListener aListener) |
void | removeListener (in sbIMediacoreEventListener aListener) |
boolean | dispatchEvent (in sbIMediacoreEvent aEvent, [optional] in boolean aAsync) |
Public Member Functions inherited from sbBaseMediacoreVolumeControl | |
NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACOREVOLUMECONTROL | sbBaseMediacoreVolumeControl () |
nsresult | InitBaseMediacoreVolumeControl () |
Public Member Functions inherited from sbIMediacoreVotingParticipant | |
unsigned long | voteWithURI (in nsIURI aURI) |
unsigned long | voteWithChannel (in nsIChannel aChannel) |
Public Member Functions inherited from sbIMediacoreWrapper | |
void | initialize (in AString aInstanceName, in sbIMediacoreCapabilities aCapabilities, in ACString aChromePageURL) |
Protected Member Functions | |
virtual | ~sbMediacoreWrapper () |
Protected Member Functions inherited from sbBaseMediacore | |
virtual | ~sbBaseMediacore () |
Protected Member Functions inherited from sbBaseMediacorePlaybackControl | |
virtual | ~sbBaseMediacorePlaybackControl () |
nsresult | DispatchPlaybackControlEvent (PRUint32 aType) |
Protected Member Functions inherited from sbBaseMediacoreVolumeControl | |
virtual | ~sbBaseMediacoreVolumeControl () |
Protected Attributes | |
nsAutoPtr < sbBaseMediacoreEventTarget > | mBaseEventTarget |
nsCOMPtr< nsIDOMDocumentEvent > | mDocumentEvent |
nsCOMPtr< nsIDOMEventTarget > | mDOMEventTarget |
PRMonitor * | mProxiedObjectsMonitor |
nsCOMPtr< nsIDOMEventTarget > | mProxiedDOMEventTarget |
nsCOMPtr< nsIDOMDocumentEvent > | mProxiedDocumentEvent |
nsCOMPtr< nsIDOMWindow > | mPluginHostWindow |
nsCOMPtr< sbIPrompter > | mPrompter |
PRPackedBool | mWindowIsReady |
Protected Attributes inherited from sbBaseMediacore | |
PRMonitor * | mMonitor |
nsString | mInstanceName |
nsCOMPtr < sbIMediacoreCapabilities > | mCapabilities |
nsCOMPtr< sbIMediacoreStatus > | mStatus |
nsCOMPtr< sbIMediacoreSequencer > | mSequencer |
Protected Attributes inherited from sbBaseMediacorePlaybackControl | |
PRMonitor * | mMonitor |
nsCOMPtr< nsIURI > | mUri |
PRUint64 | mPosition |
PRUint64 | mDuration |
Protected Attributes inherited from sbBaseMediacoreVolumeControl | |
PRMonitor * | mMonitor |
PRBool | mMute |
double | mVolume |
Additional Inherited Members | |
Public Attributes inherited from sbIMediacore | |
readonly attribute AString | instanceName |
readonly attribute sbIMediacoreCapabilities | capabilities |
readonly attribute sbIMediacoreStatus | status |
attribute sbIMediacoreSequencer | sequencer |
Public Attributes inherited from sbIMediacorePlaybackControl | |
attribute nsIURI | uri |
attribute unsigned long long | position |
readonly attribute unsigned long long | duration |
readonly attribute boolean | isPlayingAudio |
readonly attribute boolean | isPlayingVideo |
const unsigned long | SEEK_FLAG_NORMAL = 0 |
const unsigned long | SEEK_FLAG_KEYFRAME = 1 |
Public Attributes inherited from sbIMediacoreVolumeControl | |
attribute boolean | mute |
attribute double | volume |
Definition at line 61 of file sbMediacoreWrapper.h.
nsIClassInfo sbMediacoreWrapper::sbMediacoreWrapper | ( | ) |
Definition at line 89 of file sbMediacoreWrapper.cpp.
|
protectedvirtual |
Definition at line 102 of file sbMediacoreWrapper.cpp.
nsresult sbMediacoreWrapper::Init | ( | ) |
|
virtual |
Reimplemented from sbBaseMediacore.
Definition at line 143 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 189 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 251 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 274 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 215 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacore.
Definition at line 137 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 167 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacoreVolumeControl.
Definition at line 340 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 307 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 297 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 330 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacoreVolumeControl.
Definition at line 346 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 241 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 173 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacoreVolumeControl.
Definition at line 356 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacore.
Definition at line 149 of file sbMediacoreWrapper.cpp.
|
virtual |
Reimplemented from sbBaseMediacorePlaybackControl.
Definition at line 317 of file sbMediacoreWrapper.cpp.
|
protected |
Definition at line 127 of file sbMediacoreWrapper.h.
|
protected |
Definition at line 129 of file sbMediacoreWrapper.h.
|
protected |
Definition at line 130 of file sbMediacoreWrapper.h.
|
protected |
Definition at line 136 of file sbMediacoreWrapper.h.
|
protected |
Definition at line 138 of file sbMediacoreWrapper.h.
|
protected |
Definition at line 134 of file sbMediacoreWrapper.h.
|
protected |
Definition at line 133 of file sbMediacoreWrapper.h.
|
protected |
Definition at line 132 of file sbMediacoreWrapper.h.
|
protected |
Definition at line 140 of file sbMediacoreWrapper.h.