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