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

Unified Diff: webkit/media/android/webmediaplayer_android.h

Issue 12902002: Remove WebVideoFrame, WebVideoFrameProvider, and WebVideoLayer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Just removing code Created 7 years, 9 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
Index: webkit/media/android/webmediaplayer_android.h
diff --git a/webkit/media/android/webmediaplayer_android.h b/webkit/media/android/webmediaplayer_android.h
index fb5fae1adcf08368e30f8489b3e0ec9803d0373e..432d2c2a017cfbd6b1fb7a827f9ed6cbaf92293a 100644
--- a/webkit/media/android/webmediaplayer_android.h
+++ b/webkit/media/android/webmediaplayer_android.h
@@ -17,10 +17,6 @@
#include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayer.h"
-namespace WebKit {
-class WebVideoFrame;
-}
-
namespace webkit {
class WebLayerImpl;
}
@@ -30,15 +26,12 @@ namespace webkit_media {
class StreamTextureFactory;
class StreamTextureProxy;
class WebMediaPlayerManagerAndroid;
-class WebVideoFrameImpl;
// An abstract class that serves as the common base class for implementing
// WebKit::WebMediaPlayer on Android.
class WebMediaPlayerAndroid
: public WebKit::WebMediaPlayer,
-#ifdef REMOVE_WEBVIDEOFRAME
public cc::VideoFrameProvider,
-#endif
public MessageLoop::DestructionObserver {
public:
// Resource loading.
@@ -103,16 +96,6 @@ class WebMediaPlayerAndroid
virtual unsigned audioDecodedByteCount() const;
virtual unsigned videoDecodedByteCount() const;
-#ifndef REMOVE_WEBVIDEOFRAME
- // Methods called from VideoLayerChromium. These methods are running on the
- // compositor thread.
- virtual WebKit::WebVideoFrame* getCurrentFrame();
- virtual void putCurrentFrame(WebKit::WebVideoFrame*);
-
- // This gets called both on compositor and main thread to set the callback
- // target when a frame is produced.
- virtual void setStreamTextureClient(WebKit::WebStreamTextureClient* client);
-#else
// cc::VideoFrameProvider implementation. These methods are running on the
// compositor thread.
virtual void SetVideoFrameProviderClient(
@@ -120,7 +103,6 @@ class WebMediaPlayerAndroid
virtual scoped_refptr<media::VideoFrame> GetCurrentFrame() OVERRIDE;
virtual void PutCurrentFrame(const scoped_refptr<media::VideoFrame>& frame)
OVERRIDE;
-#endif
// Media player callback handlers.
virtual void OnMediaPrepared(base::TimeDelta duration);
« no previous file with comments | « webkit/media/android/stream_texture_factory_android.h ('k') | webkit/media/android/webmediaplayer_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698