| Index: ui/compositor/paint_context.h
|
| diff --git a/ui/compositor/paint_context.h b/ui/compositor/paint_context.h
|
| index ee9134ed837f6bcbd7e7a669a05d43d2da8a93e5..ddcf629a8e76873c4787e5e32ce22f4820bba14c 100644
|
| --- a/ui/compositor/paint_context.h
|
| +++ b/ui/compositor/paint_context.h
|
| @@ -78,6 +78,13 @@ class COMPOSITOR_EXPORT PaintContext {
|
| // cache contents.
|
| friend class PaintCache;
|
|
|
| + // Returns a rect with the given size in the space of the context's
|
| + // containing layer.
|
| + gfx::Rect ToLayerSpaceBounds(const gfx::Size& size_in_layer) const;
|
| +
|
| + // Returns the given rect translated by the layer space offset.
|
| + gfx::Rect ToLayerSpaceRect(const gfx::Rect& rect) const;
|
| +
|
| cc::DisplayItemList* list_;
|
| scoped_ptr<SkPictureRecorder> owned_recorder_;
|
| // A pointer to the |owned_recorder_| in this PaintContext, or in another one
|
|
|