Index: content/common/gpu/client/command_buffer_proxy_impl.h |
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.h b/content/common/gpu/client/command_buffer_proxy_impl.h |
index cd1232ab11b01fe8f81e32a48cde1ef82cb8c283..3f645c0396a58d0d257f187dce2cd9be97ecfdda 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.h |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.h |
@@ -17,6 +17,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "base/observer_list.h" |
+#include "content/common/gpu/surface_capturer.h" |
#include "content/common/gpu/gpu_memory_allocation.h" |
#include "content/common/gpu/gpu_memory_allocation.h" |
#include "gpu/command_buffer/common/command_buffer.h" |
@@ -70,6 +71,11 @@ class CommandBufferProxyImpl |
media::VideoCodecProfile profile, |
media::VideoDecodeAccelerator::Client* client); |
+ // Send an IPC message to create a SurfaceCapturer. Returns NULL on failure |
+ // to create the SurfaceCapturer. |
+ scoped_ptr<SurfaceCapturer> CreateSurfaceCapturer( |
+ SurfaceCapturer::Client* client); |
+ |
// IPC::Listener implementation: |
virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
virtual void OnChannelError() OVERRIDE; |