summaryrefslogtreecommitdiffstats
path: root/cc/delegated_renderer_layer.h
blob: 83188d93fa63106efa1dd505f0ebe7dd79ac0169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CC_DELEGATED_RENDERER_LAYER_H_
#define CC_DELEGATED_RENDERER_LAYER_H_

#include "cc/cc_export.h"
#include "cc/layer.h"

namespace cc {

class CC_EXPORT DelegatedRendererLayer : public Layer {
public:
    static scoped_refptr<DelegatedRendererLayer> create();

    virtual scoped_ptr<LayerImpl> createLayerImpl() OVERRIDE;

protected:
    DelegatedRendererLayer();

private:
    virtual ~DelegatedRendererLayer();
};

}
#endif  // CC_DELEGATED_RENDERER_LAYER_H_