Index: gpu/command_buffer/service/gles2_cmd_decoder.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.h b/gpu/command_buffer/service/gles2_cmd_decoder.h |
index 5c8b73561cb9544edcc239bce4efa018fef623e9..eddd7fe2ce76619344a5ee560956a5d9427f56d3 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.h |
@@ -89,6 +89,10 @@ class GLES2Decoder : public CommonDecoder { |
// Gets the associated ContextGroup |
virtual ContextGroup* GetContextGroup() = 0; |
+ // Sets a callback which is called when a glResizeCHROMIUM command |
+ // is processed. |
+ virtual void SetResizeCallback(Callback1<gfx::Size>::Type* callback) = 0; |
+ |
// Sets a callback which is called when a SwapBuffers command is processed. |
virtual void SetSwapBuffersCallback(Callback0::Type* callback) = 0; |