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 |
| 5 #ifndef ContentLayerChromiumClient_h |
| 6 #define ContentLayerChromiumClient_h |
| 7 |
| 8 class SkCanvas; |
| 9 |
| 10 namespace cc { |
| 11 class FloatRect; |
| 12 class IntRect; |
| 13 |
| 14 class ContentLayerChromiumClient { |
| 15 public: |
| 16 virtual void paintContents(SkCanvas*, const IntRect& clip, FloatRect& opaque
) = 0; |
| 17 |
| 18 protected: |
| 19 virtual ~ContentLayerChromiumClient() { } |
| 20 }; |
| 21 |
| 22 } |
| 23 |
| 24 #endif // ContentLayerChromiumClient_h |
OLD | NEW |