Index: cc/output/output_surface.h |
diff --git a/cc/output/output_surface.h b/cc/output/output_surface.h |
index 740039cbc686eef5e9cf707f85b1100d632e307f..d90cb7d3faf52f356d7c430242b529741284d910 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) {} |
danakj
2017/02/15 16:01:01
= 0 please
|
+ |
// Get the class capable of informing cc of hardware overlay capability. |
virtual OverlayCandidateValidator* GetOverlayCandidateValidator() const = 0; |