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

Unified Diff: public/web/WebMediaPlayerClient.h

Issue 67083003: Move WebMediaPlayer and friends to public/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/web/WebMediaPlayer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebMediaPlayerClient.h
diff --git a/public/web/WebMediaPlayerClient.h b/public/web/WebMediaPlayerClient.h
index d86108ca0fd925a12f51ad944cba488751bfac6b..01928fad62ef089e984ed23797f712667a12ccf9 100644
--- a/public/web/WebMediaPlayerClient.h
+++ b/public/web/WebMediaPlayerClient.h
@@ -28,62 +28,4 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef WebMediaPlayerClient_h
-#define WebMediaPlayerClient_h
-
-#include "WebMediaPlayer.h"
-
-namespace blink {
-
-class WebFrame;
-class WebInbandTextTrack;
-class WebLayer;
-class WebMediaSource;
-class WebPlugin;
-class WebRequest;
-class WebURL;
-
-class WebMediaPlayerClient {
-public:
- enum MediaKeyErrorCode {
- MediaKeyErrorCodeUnknown = 1,
- MediaKeyErrorCodeClient,
- MediaKeyErrorCodeService,
- MediaKeyErrorCodeOutput,
- MediaKeyErrorCodeHardwareChange,
- MediaKeyErrorCodeDomain,
- };
-
- virtual void networkStateChanged() = 0;
- virtual void readyStateChanged() = 0;
- virtual void timeChanged() = 0;
- virtual void repaint() = 0;
- virtual void durationChanged() = 0;
- virtual void sizeChanged() = 0;
- virtual void setOpaque(bool) = 0;
- virtual double volume() const = 0;
- virtual void playbackStateChanged() = 0;
- virtual WebMediaPlayer::Preload preload() const = 0;
- virtual void keyAdded(const WebString& keySystem, const WebString& sessionId) = 0;
- virtual void keyError(const WebString& keySystem, const WebString& sessionId, MediaKeyErrorCode, unsigned short systemCode) = 0;
- virtual void keyMessage(const WebString& keySystem, const WebString& sessionId, const unsigned char* message, unsigned messageLength, const WebURL& defaultURL) = 0;
- virtual void keyNeeded(const WebString& keySystem, const WebString& sessionId, const unsigned char* initData, unsigned initDataLength) = 0;
- // The returned pointer is valid until closeHelperPlugin() is called.
- // Returns 0 if the plugin could not be instantiated.
- virtual WebPlugin* createHelperPlugin(const WebString& pluginType, WebFrame*) = 0;
- virtual void closeHelperPluginSoon(WebFrame*) = 0;
- virtual bool needsWebLayerForVideo() const = 0;
- virtual void setWebLayer(WebLayer*) = 0;
- virtual void addTextTrack(WebInbandTextTrack*) = 0;
- virtual void removeTextTrack(WebInbandTextTrack*) = 0;
- virtual void mediaSourceOpened(WebMediaSource*) = 0;
- virtual void requestFullscreen() = 0;
- virtual void requestSeek(double) = 0;
-
-protected:
- ~WebMediaPlayerClient() { }
-};
-
-} // namespace blink
-
-#endif
+#include "public/platform/WebMediaPlayerClient.h"
« no previous file with comments | « public/web/WebMediaPlayer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698