Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index 740039cbc686eef5e9cf707f85b1100d632e307f..32179f23188218c0af497bcc4fac2219f7591a7c 100644 |
--- a/cc/output/output_surface.h |
+++ b/cc/output/output_surface.h |
@@ -83,6 +83,11 @@ class CC_EXPORT OutputSurface { |
// OutputSurfaces. |
virtual void BindFramebuffer() = 0; |
+ // Marks that the given rectangle will be drawn to on the default, bound |
+ // framebuffer. Only valid for surfaces with set_draw_rectangle in the |
+ // context capabilities. |
+ virtual void SetDrawRectangle(const gfx::Rect& rect) = 0; |
+ |
// Get the class capable of informing cc of hardware overlay capability. |
virtual OverlayCandidateValidator* GetOverlayCandidateValidator() const = 0; |