Index: content/common/gpu/image_transport_surface.h |
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h |
index 7b6d1df4ce6b404de4fde33035beb8a756a23ed1..95debc9833d27e7f1eeb2ecb737d6f2fc3fd9a51 100644 |
--- a/content/common/gpu/image_transport_surface.h |
+++ b/content/common/gpu/image_transport_surface.h |
@@ -60,11 +60,9 @@ class ImageTransportSurface { |
public: |
ImageTransportSurface(); |
- virtual void OnBufferPresented(bool presented, uint32 sync_point) = 0; |
+ virtual void OnBufferPresented(uint64 surface_handle, uint32 sync_point) = 0; |
virtual void OnResizeViewACK() = 0; |
virtual void OnResize(gfx::Size size) = 0; |
- virtual void OnSetFrontSurfaceIsProtected(bool is_protected, |
- uint32 protection_state_id); |
// Creates the appropriate surface depending on the GL implementation. |
static scoped_refptr<gfx::GLSurface> |
@@ -141,10 +139,8 @@ class ImageTransportHelper : public IPC::Listener { |
gpu::gles2::GLES2Decoder* Decoder(); |
// IPC::Message handlers. |
- void OnBufferPresented(bool presented, uint32 sync_point); |
+ void OnBufferPresented(uint64 surface_handle, uint32 sync_point); |
void OnResizeViewACK(); |
- void OnSetFrontSurfaceIsProtected(bool is_protected, |
- uint32 protection_state_id); |
// Backbuffer resize callback. |
void Resize(gfx::Size size); |
@@ -179,7 +175,7 @@ class PassThroughImageTransportSurface |
virtual bool OnMakeCurrent(gfx::GLContext* context) OVERRIDE; |
// ImageTransportSurface implementation. |
- virtual void OnBufferPresented(bool presented, |
+ virtual void OnBufferPresented(uint64 surface_handle, |
uint32 sync_point) OVERRIDE; |
virtual void OnResizeViewACK() OVERRIDE; |
virtual void OnResize(gfx::Size size) OVERRIDE; |