#ifndef CC_LAYERS_SOLID_COLOR_LAYER_H_
#define CC_LAYERS_SOLID_COLOR_LAYER_H_
#include "cc/base/cc_export.h"
#include "cc/layers/layer.h"
namespace cc {
class CC_EXPORT SolidColorLayer : public Layer {
public:
static scoped_refptr<SolidColorLayer> Create();
virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl)
OVERRIDE;
virtual void SetBackgroundColor(SkColor color) OVERRIDE;
protected:
SolidColorLayer();
private:
virtual ~SolidColorLayer();
DISALLOW_COPY_AND_ASSIGN(SolidColorLayer);
};
}
#endif