Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Side by Side Diff: Source/web/WebMediaPlayerClientImpl.h

Issue 284513003: Implement AudioTrack, AudioTrackList, VideoTrack, and VideoTrackList (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: platform handle per track Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 virtual void playbackStateChanged() OVERRIDE; 78 virtual void playbackStateChanged() OVERRIDE;
79 virtual WebMediaPlayer::Preload preload() const OVERRIDE; 79 virtual WebMediaPlayer::Preload preload() const OVERRIDE;
80 80
81 // WebEncryptedMediaPlayerClient methods: 81 // WebEncryptedMediaPlayerClient methods:
82 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId ) OVERRIDE; 82 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId ) OVERRIDE;
83 virtual void keyError(const WebString& keySystem, const WebString& sessionId , MediaKeyErrorCode, unsigned short systemCode) OVERRIDE; 83 virtual void keyError(const WebString& keySystem, const WebString& sessionId , MediaKeyErrorCode, unsigned short systemCode) OVERRIDE;
84 virtual void keyMessage(const WebString& keySystem, const WebString& session Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU RL) OVERRIDE; 84 virtual void keyMessage(const WebString& keySystem, const WebString& session Id, const unsigned char* message, unsigned messageLength, const WebURL& defaultU RL) OVERRIDE;
85 virtual void keyNeeded(const WebString& contentType, const unsigned char* in itData, unsigned initDataLength) OVERRIDE; 85 virtual void keyNeeded(const WebString& contentType, const unsigned char* in itData, unsigned initDataLength) OVERRIDE;
86 86
87 virtual void setWebLayer(WebLayer*) OVERRIDE; 87 virtual void setWebLayer(WebLayer*) OVERRIDE;
88 virtual void addAudioTrack(uintptr_t handle, const WebString& id, AudioTrack Kind, const WebString& label, const WebString& language, bool enabled) OVERRIDE;
89 virtual void removeAudioTrack(uintptr_t handle) OVERRIDE;
90 virtual void addVideoTrack(uintptr_t handle, const WebString& id, VideoTrack Kind, const WebString& label, const WebString& language, bool selected) OVERRIDE ;
91 virtual void removeVideoTrack(uintptr_t handle) OVERRIDE;
88 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE; 92 virtual void addTextTrack(WebInbandTextTrack*) OVERRIDE;
89 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE; 93 virtual void removeTextTrack(WebInbandTextTrack*) OVERRIDE;
90 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE; 94 virtual void mediaSourceOpened(WebMediaSource*) OVERRIDE;
91 virtual void requestFullscreen() OVERRIDE; 95 virtual void requestFullscreen() OVERRIDE;
92 virtual void requestSeek(double) OVERRIDE; 96 virtual void requestSeek(double) OVERRIDE;
93 97
94 // MediaPlayer methods: 98 // MediaPlayer methods:
95 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE; 99 virtual WebMediaPlayer* webMediaPlayer() const OVERRIDE;
96 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE; 100 virtual void load(WebMediaPlayer::LoadType, const WTF::String& url, WebMedia Player::CORSMode) OVERRIDE;
97 virtual void play() OVERRIDE; 101 virtual void play() OVERRIDE;
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 Mutex provideInputLock; 200 Mutex provideInputLock;
197 }; 201 };
198 202
199 AudioSourceProviderImpl m_audioSourceProvider; 203 AudioSourceProviderImpl m_audioSourceProvider;
200 #endif 204 #endif
201 }; 205 };
202 206
203 } // namespace blink 207 } // namespace blink
204 208
205 #endif 209 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698