Index: gpu/command_buffer/service/gpu_processor.h |
diff --git a/gpu/command_buffer/service/gpu_processor.h b/gpu/command_buffer/service/gpu_processor.h |
index 986ab03960c60ad5a129e168e7690c8cade79ed2..247c4c57d717271238d08241b303a63ecb8a0626 100644 |
--- a/gpu/command_buffer/service/gpu_processor.h |
+++ b/gpu/command_buffer/service/gpu_processor.h |
@@ -87,6 +87,10 @@ class GPUProcessor : public CommandBufferEngine { |
virtual uint64 GetSurfaceId(); |
#endif |
+ // Sets a callback that is called when a glResizeCHROMIUM command |
+ // is processed. |
+ virtual void SetResizeCallback(Callback1<gfx::Size>::Type* callback); |
+ |
// Sets a callback which is called when a SwapBuffers command is processed. |
// Must be called after Initialize(). |
// It is not defined on which thread this callback is called. |