| 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 WebExternalTextureLayerImpl_h | 5 #ifndef WebExternalTextureLayerImpl_h |
| 6 #define WebExternalTextureLayerImpl_h | 6 #define WebExternalTextureLayerImpl_h |
| 7 | 7 |
| 8 #include "TextureLayerChromiumClient.h" | 8 #include "TextureLayerChromiumClient.h" |
| 9 #include <public/WebExternalTextureLayer.h> | 9 #include <public/WebExternalTextureLayer.h> |
| 10 #include <wtf/OwnPtr.h> |
| 10 | 11 |
| 11 namespace WebKit { | 12 namespace WebKit { |
| 12 | 13 |
| 13 class WebLayerImpl; | 14 class WebLayerImpl; |
| 14 | 15 |
| 15 class WebExternalTextureLayerImpl : public WebExternalTextureLayer, | 16 class WebExternalTextureLayerImpl : public WebExternalTextureLayer, |
| 16 public WebCore::TextureLayerChromiumClient { | 17 public WebCore::TextureLayerChromiumClient { |
| 17 public: | 18 public: |
| 18 explicit WebExternalTextureLayerImpl(WebExternalTextureLayerClient*); | 19 explicit WebExternalTextureLayerImpl(WebExternalTextureLayerClient*); |
| 19 virtual ~WebExternalTextureLayerImpl(); | 20 virtual ~WebExternalTextureLayerImpl(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 34 | 35 |
| 35 private: | 36 private: |
| 36 WebExternalTextureLayerClient* m_client; | 37 WebExternalTextureLayerClient* m_client; |
| 37 OwnPtr<WebLayerImpl> m_layer; | 38 OwnPtr<WebLayerImpl> m_layer; |
| 38 }; | 39 }; |
| 39 | 40 |
| 40 } | 41 } |
| 41 | 42 |
| 42 #endif // WebExternalTextureLayerImpl_h | 43 #endif // WebExternalTextureLayerImpl_h |
| 43 | 44 |
| OLD | NEW |