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 |
(...skipping 29 matching lines...) Expand all Loading... |
40 | 40 |
41 virtual ~ContentLayerChromium(); | 41 virtual ~ContentLayerChromium(); |
42 | 42 |
43 void clearClient() { m_client = 0; } | 43 void clearClient() { m_client = 0; } |
44 | 44 |
45 virtual bool drawsContent() const OVERRIDE; | 45 virtual bool drawsContent() const OVERRIDE; |
46 virtual void setTexturePriorities(const CCPriorityCalculator&) OVERRIDE; | 46 virtual void setTexturePriorities(const CCPriorityCalculator&) OVERRIDE; |
47 virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRend
eringStats&) OVERRIDE; | 47 virtual void update(CCTextureUpdateQueue&, const CCOcclusionTracker*, CCRend
eringStats&) OVERRIDE; |
48 virtual bool needMoreUpdates() OVERRIDE; | 48 virtual bool needMoreUpdates() OVERRIDE; |
49 | 49 |
50 virtual void setOpaque(bool) OVERRIDE; | 50 virtual void setContentsOpaque(bool) OVERRIDE; |
51 | 51 |
52 protected: | 52 protected: |
53 explicit ContentLayerChromium(ContentLayerChromiumClient*); | 53 explicit ContentLayerChromium(ContentLayerChromiumClient*); |
54 | 54 |
55 | 55 |
56 private: | 56 private: |
57 virtual LayerTextureUpdater* textureUpdater() const OVERRIDE; | 57 virtual LayerTextureUpdater* textureUpdater() const OVERRIDE; |
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 |