Index: ui/gl/gl_surface.h |
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
index 135163866dcb4f5b5bf885090a0bc1f8b036a8ab..c218267e01d2ae887da58e4343e46d71c6045848 100644 |
--- a/ui/gl/gl_surface.h |
+++ b/ui/gl/gl_surface.h |
@@ -88,6 +88,10 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
// on error. |
virtual bool OnMakeCurrent(GLContext* context); |
+ // Called when the surface is bound as the current framebuffer for the |
+ // current context. |
+ virtual void NotifyWasBound(); |
+ |
// Used for explicit buffer management. |
virtual bool SetBackbufferAllocation(bool allocated); |
virtual void SetFrontbufferAllocation(bool allocated); |