Mailbox support for texture layers.
[chromium-blink-merge.git] / cc / content_layer_client.h
blob344ea61f6cb5eeb86a2bf9e78cb39f5e7f8c3c11
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 #include "cc/cc_export.h"
10 class SkCanvas;
12 namespace gfx {
13 class Rect;
14 class RectF;
17 namespace cc {
19 class CC_EXPORT ContentLayerClient {
20 public:
21 virtual void paintContents(SkCanvas*, const gfx::Rect& clip, gfx::RectF& opaque) = 0;
23 protected:
24 virtual ~ContentLayerClient() { }
29 #endif // CC_CONTENT_LAYER_CLIENT_H_