1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 #ifndef CC_LAYER_PAINTER_H_
7 #define CC_LAYER_PAINTER_H_
9 #include "cc/cc_export.h"
20 class CC_EXPORT LayerPainter
{
22 virtual ~LayerPainter() { }
23 virtual void paint(SkCanvas
*, const gfx::Rect
& contentRect
, gfx::RectF
& opaque
) = 0;
27 #endif // CC_LAYER_PAINTER_H_