Index: cc/output/renderer.h |
diff --git a/cc/output/renderer.h b/cc/output/renderer.h |
index 9619852a9098d012805e9ecc7028ca1c0ed1953c..7624a5befa1b5098465f52c32e77d9199d313170 100644 |
--- a/cc/output/renderer.h |
+++ b/cc/output/renderer.h |
@@ -18,10 +18,11 @@ class ScopedResource; |
class CC_EXPORT RendererClient { |
public: |
- // Draw viewport in non-y-flipped window space. Note that while a draw is in |
- // progress, this is guaranteed to be contained within the output surface |
- // size. |
+ // These return the draw viewport and clip in non-y-flipped window space. |
+ // Note that while a draw is in progress, these are guaranteed to be |
+ // contained within the output surface size. |
virtual gfx::Rect DeviceViewport() const = 0; |
+ virtual gfx::Rect DeviceClip() const = 0; |
virtual float DeviceScaleFactor() const = 0; |
virtual const LayerTreeSettings& Settings() const = 0; |