| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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 | 5 |
| 6 #ifndef ContentLayerChromium_h | 6 #ifndef ContentLayerChromium_h |
| 7 #define ContentLayerChromium_h | 7 #define ContentLayerChromium_h |
| 8 | 8 |
| 9 #if USE(ACCELERATED_COMPOSITING) | 9 #if USE(ACCELERATED_COMPOSITING) |
| 10 | 10 |
| 11 #include "LayerPainterChromium.h" | 11 #include "LayerPainterChromium.h" |
| 12 #include "TiledLayerChromium.h" | 12 #include "TiledLayerChromium.h" |
| 13 | 13 |
| 14 class SkCanvas; | 14 class SkCanvas; |
| 15 | 15 |
| 16 namespace WebCore { | 16 namespace cc { |
| 17 | 17 |
| 18 class ContentLayerChromiumClient; | 18 class ContentLayerChromiumClient; |
| 19 class FloatRect; | 19 class FloatRect; |
| 20 class IntRect; | 20 class IntRect; |
| 21 class LayerTextureUpdater; | 21 class LayerTextureUpdater; |
| 22 | 22 |
| 23 class ContentLayerPainter : public LayerPainterChromium { | 23 class ContentLayerPainter : public LayerPainterChromium { |
| 24 WTF_MAKE_NONCOPYABLE(ContentLayerPainter); | 24 WTF_MAKE_NONCOPYABLE(ContentLayerPainter); |
| 25 public: | 25 public: |
| 26 static PassOwnPtr<ContentLayerPainter> create(ContentLayerChromiumClient*); | 26 static PassOwnPtr<ContentLayerPainter> create(ContentLayerChromiumClient*); |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 virtual void createTextureUpdaterIfNeeded() OVERRIDE; | 58 virtual void createTextureUpdaterIfNeeded() OVERRIDE; |
| 59 | 59 |
| 60 ContentLayerChromiumClient* m_client; | 60 ContentLayerChromiumClient* m_client; |
| 61 RefPtr<LayerTextureUpdater> m_textureUpdater; | 61 RefPtr<LayerTextureUpdater> m_textureUpdater; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } | 64 } |
| 65 #endif // USE(ACCELERATED_COMPOSITING) | 65 #endif // USE(ACCELERATED_COMPOSITING) |
| 66 | 66 |
| 67 #endif | 67 #endif |
| OLD | NEW |