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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "cc/texture_layer_client.h" | 9 #include "cc/layers/texture_layer_client.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL
ayer.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL
ayer.h" |
11 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" | 11 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" |
12 | 12 |
13 namespace WebKit { | 13 namespace WebKit { |
14 | 14 |
15 class WebLayerImpl; | 15 class WebLayerImpl; |
16 struct WebFloatRect; | 16 struct WebFloatRect; |
17 | 17 |
18 class WebExternalTextureLayerImpl : public WebExternalTextureLayer, | 18 class WebExternalTextureLayerImpl : public WebExternalTextureLayer, |
19 public cc::TextureLayerClient { | 19 public cc::TextureLayerClient { |
(...skipping 17 matching lines...) Expand all Loading... |
37 virtual WebGraphicsContext3D* context() OVERRIDE; | 37 virtual WebGraphicsContext3D* context() OVERRIDE; |
38 | 38 |
39 private: | 39 private: |
40 WebExternalTextureLayerClient* client_; | 40 WebExternalTextureLayerClient* client_; |
41 scoped_ptr<WebLayerImpl> layer_; | 41 scoped_ptr<WebLayerImpl> layer_; |
42 }; | 42 }; |
43 | 43 |
44 } | 44 } |
45 | 45 |
46 #endif // WebExternalTextureLayerImpl_h | 46 #endif // WebExternalTextureLayerImpl_h |
OLD | NEW |