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

Unified Diff: Source/platform/graphics/media/MediaPlayer.h

Issue 430793002: Eliminate MediaPlayer abstraction(paint APIs) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed review comments Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderVideo.cpp ('k') | Source/web/WebMediaPlayerClientImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/media/MediaPlayer.h
diff --git a/Source/platform/graphics/media/MediaPlayer.h b/Source/platform/graphics/media/MediaPlayer.h
index 5ebe8604760ea27f39f74dbbca95e77f37a86e73..1b3afa89dc90df42d4ab3b446529a28a2479da59 100644
--- a/Source/platform/graphics/media/MediaPlayer.h
+++ b/Source/platform/graphics/media/MediaPlayer.h
@@ -26,14 +26,11 @@
#ifndef MediaPlayer_h
#define MediaPlayer_h
-#include "platform/PlatformExport.h"
-#include "platform/graphics/GraphicsTypes3D.h"
#include "public/platform/WebMediaPlayer.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
namespace blink {
-class WebGraphicsContext3D;
class WebContentDecryptionModule;
class WebInbandTextTrack;
class WebLayer;
@@ -43,18 +40,10 @@ class WebMediaSource;
namespace blink {
class AudioSourceProvider;
-class GraphicsContext;
-class IntRect;
class KURL;
class MediaPlayer;
class TimeRanges;
-// GL types as defined in OpenGL ES 2.0 header file gl2.h from khronos.org.
-// That header cannot be included directly due to a conflict with NPAPI headers.
-// See crbug.com/328085.
-typedef unsigned GC3Denum;
-typedef int GC3Dint;
-
class MediaPlayerClient {
public:
virtual ~MediaPlayerClient() { }
@@ -112,9 +101,6 @@ public:
virtual void load(blink::WebMediaPlayer::LoadType, const String& url, blink::WebMediaPlayer::CORSMode) = 0;
- virtual void paint(GraphicsContext*, const IntRect&) = 0;
- virtual bool copyVideoTextureToPlatformTexture(blink::WebGraphicsContext3D*, Platform3DObject, GC3Dint, GC3Denum, GC3Denum, bool, bool) = 0;
-
enum Preload { None, MetaData, Auto };
virtual void setPreload(Preload) = 0;
« no previous file with comments | « Source/core/rendering/RenderVideo.cpp ('k') | Source/web/WebMediaPlayerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698