Add intro to any Chrome app API with no overview docs.
[chromium-blink-merge.git] / cc / content_layer_client.h
blob73eba8f59981cbee144220666e30b26e1de6d37e
1 // Copyright 2012 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.
5 #ifndef CC_CONTENT_LAYER_CLIENT_H_
6 #define CC_CONTENT_LAYER_CLIENT_H_
8 class SkCanvas;
10 namespace gfx {
11 class Rect;
12 class RectF;
15 namespace cc {
17 class ContentLayerClient {
18 public:
19 virtual void paintContents(SkCanvas*, const gfx::Rect& clip, gfx::RectF& opaque) = 0;
21 protected:
22 virtual ~ContentLayerClient() { }
27 #endif // CC_CONTENT_LAYER_CLIENT_H_