Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index e5199e6d6ccf9961114ac2a4c2cc57b88fdf027d..eff0ef4126e2bf3e476a3e0bafe4106c0f484ab4 100644 |
--- a/cc/output/output_surface.h |
+++ b/cc/output/output_surface.h |
@@ -79,6 +79,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) {} |
+ |
// Get the class capable of informing cc of hardware overlay capability. |
virtual OverlayCandidateValidator* GetOverlayCandidateValidator() const = 0; |