| 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 CCHeadsUpDisplayLayerImpl_h | 5 #ifndef CCHeadsUpDisplayLayerImpl_h |
| 6 #define CCHeadsUpDisplayLayerImpl_h | 6 #define CCHeadsUpDisplayLayerImpl_h |
| 7 | 7 |
| 8 #include "CCFontAtlas.h" | 8 #include "CCFontAtlas.h" |
| 9 #include "CCLayerImpl.h" | 9 #include "CCLayerImpl.h" |
| 10 #include "CCScopedTexture.h" | 10 #include "CCScopedTexture.h" |
| 11 | 11 |
| 12 class SkCanvas; | 12 class SkCanvas; |
| 13 | 13 |
| 14 namespace WebCore { | 14 namespace cc { |
| 15 | 15 |
| 16 class CCDebugRectHistory; | 16 class CCDebugRectHistory; |
| 17 class CCFontAtlas; | 17 class CCFontAtlas; |
| 18 class CCFrameRateCounter; | 18 class CCFrameRateCounter; |
| 19 | 19 |
| 20 class CCHeadsUpDisplayLayerImpl : public CCLayerImpl { | 20 class CCHeadsUpDisplayLayerImpl : public CCLayerImpl { |
| 21 public: | 21 public: |
| 22 static PassOwnPtr<CCHeadsUpDisplayLayerImpl> create(int id) | 22 static PassOwnPtr<CCHeadsUpDisplayLayerImpl> create(int id) |
| 23 { | 23 { |
| 24 return adoptPtr(new CCHeadsUpDisplayLayerImpl(id)); | 24 return adoptPtr(new CCHeadsUpDisplayLayerImpl(id)); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 47 void drawDebugRects(SkCanvas*, CCDebugRectHistory*); | 47 void drawDebugRects(SkCanvas*, CCDebugRectHistory*); |
| 48 | 48 |
| 49 OwnPtr<CCFontAtlas> m_fontAtlas; | 49 OwnPtr<CCFontAtlas> m_fontAtlas; |
| 50 OwnPtr<CCScopedTexture> m_hudTexture; | 50 OwnPtr<CCScopedTexture> m_hudTexture; |
| 51 OwnPtr<SkCanvas> m_hudCanvas; | 51 OwnPtr<SkCanvas> m_hudCanvas; |
| 52 }; | 52 }; |
| 53 | 53 |
| 54 } | 54 } |
| 55 | 55 |
| 56 #endif // CCHeadsUpDisplayLayerImpl_h | 56 #endif // CCHeadsUpDisplayLayerImpl_h |
| OLD | NEW |