Home | History | Annotate | Download | only in webui

Lines Matching defs:MediaPlayer

56 static const char* kMediaplayerURL = "chrome://mediaplayer";
57 static const char* kMediaplayerPlaylistURL = "chrome://mediaplayer#playlist";
83 // The handler for Javascript messages related to the "mediaplayer" view.
138 // maintained by the mediaplayer itself. Offset is the item in the
147 // Indicator of if this handler is a playlist or a mediaplayer.
221 MediaPlayer* player = MediaPlayer::GetInstance();
258 MediaPlayer::GetInstance()->NotifyPlaylistChanged();
270 MediaPlayer::GetInstance()->ToggleFullscreen();
276 MediaPlayer::GetInstance()->SetPlaylistOffset(id);
306 MediaPlayer::GetInstance()->NotifyPlaylistChanged();
311 MediaPlayer::GetInstance()->NotifyPlaylistChanged();
335 MediaPlayer::GetInstance()->TogglePlaylistWindowVisible();
339 MediaPlayer::GetInstance()->ShowPlaylistWindow();
344 // Mediaplayer
350 DISABLE_RUNNABLE_METHOD_REFCOUNT(MediaPlayer);
352 MediaPlayer::~MediaPlayer() {
356 MediaPlayer* MediaPlayer::GetInstance() {
357 return Singleton<MediaPlayer>::get();
360 void MediaPlayer::EnqueueMediaFile(Profile* profile, const FilePath& file_path,
370 void MediaPlayer::EnqueueMediaFileUrl(const GURL& url, Browser* creator) {
379 void MediaPlayer::ForcePlayMediaFile(Profile* profile,
390 void MediaPlayer::ForcePlayMediaURL(const GURL& url, Browser* creator) {
399 void MediaPlayer::TogglePlaylistWindowVisible() {
407 void MediaPlayer::ShowPlaylistWindow() {
413 void MediaPlayer::ClosePlaylistWindow() {
419 void MediaPlayer::SetPlaylistOffset(int offset) {
428 void MediaPlayer::SetNewHandler(MediaplayerHandler* handler,
439 void MediaPlayer::RegisterListeners() {
453 void MediaPlayer::Observe(NotificationType type,
467 void MediaPlayer::RegisterNewPlaylistHandler(MediaplayerHandler* handler,
475 void MediaPlayer::RemovePlaylistHandler(MediaplayerHandler* handler) {
483 void MediaPlayer::NotifyPlaylistChanged() {
490 void MediaPlayer::ToggleFullscreen() {
496 void MediaPlayer
504 void MediaPlayer::PopupPlaylist(Browser* creator) {
517 void MediaPlayer::PopupMediaPlayer(Browser* creator) {
521 NewRunnableMethod(this, &MediaPlayer::PopupMediaPlayer,
549 net::URLRequestJob* MediaPlayer::MaybeIntercept(net::URLRequest* request) {
563 net::URLRequestJob* MediaPlayer::MaybeInterceptResponse(
573 // Cancel the request so the mediaplayer can handle it when
585 MediaPlayer::MediaPlayer()
617 // Set up the chrome://mediaplayer/ source.