OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ContentLayerChromiumClient_h | 5 #ifndef CC_CONTENT_LAYER_CLIENT_H_ |
6 #define ContentLayerChromiumClient_h | 6 #define CC_CONTENT_LAYER_CLIENT_H_ |
7 | 7 |
8 class SkCanvas; | 8 class SkCanvas; |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 class Rect; | 11 class Rect; |
12 class RectF; | 12 class RectF; |
13 } | 13 } |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 class ContentLayerClient { | 17 class ContentLayerClient { |
18 public: | 18 public: |
19 virtual void paintContents(SkCanvas*, const gfx::Rect& clip, gfx::RectF& opa
que) = 0; | 19 virtual void paintContents(SkCanvas*, const gfx::Rect& clip, gfx::RectF& opa
que) = 0; |
20 | 20 |
21 protected: | 21 protected: |
22 virtual ~ContentLayerClient() { } | 22 virtual ~ContentLayerClient() { } |
23 }; | 23 }; |
24 | 24 |
25 } | 25 } |
26 | 26 |
27 #endif // ContentLayerChromiumClient_h | 27 #endif // CC_CONTENT_LAYER_CLIENT_H_ |
OLD | NEW |