Chromium Code Reviews| Index: ui/compositor/layer.h |
| diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h |
| index 03041edb872c1f4f66cec65a457f3ebf5aecd4ba..045159e36fe4c23e2a07c08146d6bf407f68f1b6 100644 |
| --- a/ui/compositor/layer.h |
| +++ b/ui/compositor/layer.h |
| @@ -451,7 +451,9 @@ class COMPOSITOR_EXPORT Layer |
| // Width of the border in pixels, where the scaling is blended. |
| int zoom_inset_; |
| - // Shape of the window. |
| + // The alpha shape is a region that defines the area that is visible |
| + // (and matches the area that accepts input events). The region is specified |
| + // in DIPs, so it must be scaled by the layer's |device_scale_factor|. |
|
danakj
2014/07/11 16:08:22
this comment seems out of date now
|
| scoped_ptr<SkRegion> alpha_shape_; |
| std::string name_; |