sbMediacoreWrapper Class Reference

#include <sbMediacoreWrapper.h>

Inheritance diagram for sbMediacoreWrapper:
[legend]
Collaboration diagram for sbMediacoreWrapper:
[legend]

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< nsIDOMWindowmPluginHostWindow
 
nsCOMPtr< sbIPromptermPrompter
 
PRPackedBool mWindowIsReady
 
- Protected Attributes inherited from sbBaseMediacore
PRMonitor * mMonitor
 
nsString mInstanceName
 
nsCOMPtr
< sbIMediacoreCapabilities
mCapabilities
 
nsCOMPtr< sbIMediacoreStatusmStatus
 
nsCOMPtr< sbIMediacoreSequencermSequencer
 
- 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
 

Detailed Description

Definition at line 61 of file sbMediacoreWrapper.h.

Constructor & Destructor Documentation

nsIClassInfo sbMediacoreWrapper::sbMediacoreWrapper ( )

Definition at line 89 of file sbMediacoreWrapper.cpp.

sbMediacoreWrapper::~sbMediacoreWrapper ( )
protectedvirtual

Definition at line 102 of file sbMediacoreWrapper.cpp.

Member Function Documentation

nsresult sbMediacoreWrapper::Init ( )

Definition at line 112 of file sbMediacoreWrapper.cpp.

Here is the call graph for this function:

nsresult sbMediacoreWrapper::OnGetCapabilities ( )
virtual

Reimplemented from sbBaseMediacore.

Definition at line 143 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnGetDuration ( PRUint64 *  aDuration)
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 189 of file sbMediacoreWrapper.cpp.

Here is the call graph for this function:

nsresult sbMediacoreWrapper::OnGetIsPlayingAudio ( PRBool *  aIsPlayingAudio)
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 251 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnGetIsPlayingVideo ( PRBool *  aIsPlayingVideo)
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 274 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnGetPosition ( PRUint64 *  aPosition)
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 215 of file sbMediacoreWrapper.cpp.

Here is the call graph for this function:

nsresult sbMediacoreWrapper::OnInitBaseMediacore ( )
virtual

Reimplemented from sbBaseMediacore.

Definition at line 137 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnInitBaseMediacorePlaybackControl ( )
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 167 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnInitBaseMediacoreVolumeControl ( )
virtual

Reimplemented from sbBaseMediacoreVolumeControl.

Definition at line 340 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnPause ( )
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 307 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnPlay ( )
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 297 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnSeek ( PRUint64  aPosition,
PRUint32  aFlag 
)
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 330 of file sbMediacoreWrapper.cpp.

Here is the call graph for this function:

nsresult sbMediacoreWrapper::OnSetMute ( PRBool  aMute)
virtual

Reimplemented from sbBaseMediacoreVolumeControl.

Definition at line 346 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnSetPosition ( PRUint64  aPosition)
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 241 of file sbMediacoreWrapper.cpp.

Here is the caller graph for this function:

nsresult sbMediacoreWrapper::OnSetUri ( nsIURI *  aURI)
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 173 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnSetVolume ( PRFloat64  aVolume)
virtual

Reimplemented from sbBaseMediacoreVolumeControl.

Definition at line 356 of file sbMediacoreWrapper.cpp.

Here is the call graph for this function:

nsresult sbMediacoreWrapper::OnShutdown ( )
virtual

Reimplemented from sbBaseMediacore.

Definition at line 149 of file sbMediacoreWrapper.cpp.

nsresult sbMediacoreWrapper::OnStop ( )
virtual

Reimplemented from sbBaseMediacorePlaybackControl.

Definition at line 317 of file sbMediacoreWrapper.cpp.

Member Data Documentation

nsAutoPtr<sbBaseMediacoreEventTarget> sbMediacoreWrapper::mBaseEventTarget
protected

Definition at line 127 of file sbMediacoreWrapper.h.

nsCOMPtr<nsIDOMDocumentEvent> sbMediacoreWrapper::mDocumentEvent
protected

Definition at line 129 of file sbMediacoreWrapper.h.

nsCOMPtr<nsIDOMEventTarget> sbMediacoreWrapper::mDOMEventTarget
protected

Definition at line 130 of file sbMediacoreWrapper.h.

nsCOMPtr<nsIDOMWindow> sbMediacoreWrapper::mPluginHostWindow
protected

Definition at line 136 of file sbMediacoreWrapper.h.

nsCOMPtr<sbIPrompter> sbMediacoreWrapper::mPrompter
protected

Definition at line 138 of file sbMediacoreWrapper.h.

nsCOMPtr<nsIDOMDocumentEvent> sbMediacoreWrapper::mProxiedDocumentEvent
protected

Definition at line 134 of file sbMediacoreWrapper.h.

nsCOMPtr<nsIDOMEventTarget> sbMediacoreWrapper::mProxiedDOMEventTarget
protected

Definition at line 133 of file sbMediacoreWrapper.h.

PRMonitor* sbMediacoreWrapper::mProxiedObjectsMonitor
protected

Definition at line 132 of file sbMediacoreWrapper.h.

PRPackedBool sbMediacoreWrapper::mWindowIsReady
protected

Definition at line 140 of file sbMediacoreWrapper.h.


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