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

Unified Diff: cc/layers/video_frame_provider_client_impl.h

Issue 1094553002: Revert "Speculative revert by sheriff" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « cc/layers/video_frame_provider.h ('k') | cc/layers/video_frame_provider_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/video_frame_provider_client_impl.h
diff --git a/cc/layers/video_frame_provider_client_impl.h b/cc/layers/video_frame_provider_client_impl.h
index 2688ad25d8cb8332986348274a451d3cc531a607..ba2eb73f9a21840cdbb98243175a309f962f5354 100644
--- a/cc/layers/video_frame_provider_client_impl.h
+++ b/cc/layers/video_frame_provider_client_impl.h
@@ -37,7 +37,7 @@ class CC_EXPORT VideoFrameProviderClientImpl
void Stop();
scoped_refptr<media::VideoFrame> AcquireLockAndCurrentFrame();
- void PutCurrentFrame(const scoped_refptr<media::VideoFrame>& frame);
+ void PutCurrentFrame();
void ReleaseLock();
const gfx::Transform& StreamTextureMatrix() const;
@@ -46,6 +46,8 @@ class CC_EXPORT VideoFrameProviderClientImpl
// Called on the main thread.
void StopUsingProvider() override;
// Called on the impl thread.
+ void StartRendering() override;
+ void StopRendering() override;
void DidReceiveFrame() override;
void DidUpdateMatrix(const float* matrix) override;
« no previous file with comments | « cc/layers/video_frame_provider.h ('k') | cc/layers/video_frame_provider_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698