| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 WebContentLayerImpl_h | 5 #ifndef WebContentLayerImpl_h |
| 6 #define WebContentLayerImpl_h | 6 #define WebContentLayerImpl_h |
| 7 | 7 |
| 8 // FIXME: WebContentLayer should forward declare this | 8 // FIXME: WebContentLayer should forward declare this |
| 9 namespace WebKit { | 9 namespace WebKit { |
| 10 class WebLayer; | 10 class WebLayer; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 virtual void setBoundsContainPageScale(bool) OVERRIDE; | 34 virtual void setBoundsContainPageScale(bool) OVERRIDE; |
| 35 virtual bool boundsContainPageScale() const OVERRIDE; | 35 virtual bool boundsContainPageScale() const OVERRIDE; |
| 36 virtual void setUseLCDText(bool) OVERRIDE; | 36 virtual void setUseLCDText(bool) OVERRIDE; |
| 37 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE; | 37 virtual void setDrawCheckerboardForMissingTiles(bool) OVERRIDE; |
| 38 virtual void setAutomaticallyComputeRasterScale(bool); | 38 virtual void setAutomaticallyComputeRasterScale(bool); |
| 39 | 39 |
| 40 protected: | 40 protected: |
| 41 virtual ~WebContentLayerImpl(); | 41 virtual ~WebContentLayerImpl(); |
| 42 | 42 |
| 43 // ContentLayerClient implementation. | 43 // ContentLayerClient implementation. |
| 44 virtual void paintContents(SkCanvas*, const cc::IntRect& clip, cc::FloatRect
& opaque) OVERRIDE; | 44 virtual void paintContents(SkCanvas*, const gfx::Rect& clip, gfx::RectF& opa
que) OVERRIDE; |
| 45 | 45 |
| 46 scoped_ptr<WebLayerImpl> m_layer; | 46 scoped_ptr<WebLayerImpl> m_layer; |
| 47 WebContentLayerClient* m_client; | 47 WebContentLayerClient* m_client; |
| 48 bool m_drawsContent; | 48 bool m_drawsContent; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 } // namespace WebKit | 51 } // namespace WebKit |
| 52 | 52 |
| 53 #endif // WebContentLayerImpl_h | 53 #endif // WebContentLayerImpl_h |
| OLD | NEW |