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

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

Issue 12676004: Move ownership of cc:VideoLayer to webkit/media (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/stream_texture_factory_android.h
diff --git a/webkit/media/android/stream_texture_factory_android.h b/webkit/media/android/stream_texture_factory_android.h
index 749e0bbe78b06c787347e08589663428d62231dc..0ca103fd7651c89ffbb14560e1243f0c42a84457 100644
--- a/webkit/media/android/stream_texture_factory_android.h
+++ b/webkit/media/android/stream_texture_factory_android.h
@@ -5,6 +5,8 @@
#ifndef WEBKIT_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_H_
#define WEBKIT_MEDIA_ANDROID_STREAM_TEXTURE_FACTORY_ANDROID_H_
+#include "cc/layers/video_frame_provider.h"
+
namespace WebKit {
class WebStreamTextureClient;
}
@@ -25,7 +27,11 @@ class StreamTextureProxy {
// Setting the target for callback when a frame is available. This function
// could be called on both the main thread and the compositor thread.
+#ifndef REMOVE_WEBVIDEOFRAME
virtual void SetClient(WebKit::WebStreamTextureClient* client) = 0;
+#else
+ virtual void SetClient(cc::VideoFrameProvider::Client* client) = 0;
+#endif
};

Powered by Google App Engine
This is Rietveld 408576698