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 WEBKIT_COMPOSITOR_BINDINGS_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ | 5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ |
6 #define WEBKIT_COMPOSITOR_BINDINGS_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ | 6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "cc/layers/texture_layer_client.h" | 10 #include "cc/layers/texture_layer_client.h" |
11 #include "cc/resources/texture_mailbox.h" | 11 #include "cc/resources/texture_mailbox.h" |
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL
ayer.h" | 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebExternalTextureL
ayer.h" |
13 #include "webkit/compositor_bindings/webkit_compositor_bindings_export.h" | 13 #include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export.
h" |
14 | 14 |
15 namespace WebKit { | 15 namespace WebKit { |
16 struct WebFloatRect; | 16 struct WebFloatRect; |
17 struct WebExternalTextureMailbox; | 17 struct WebExternalTextureMailbox; |
18 } | 18 } |
19 | 19 |
20 namespace webkit { | 20 namespace webkit { |
21 | 21 |
22 class WebLayerImpl; | 22 class WebLayerImpl; |
23 | 23 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 WebKit::WebExternalTextureLayerClient* client_; | 56 WebKit::WebExternalTextureLayerClient* client_; |
57 scoped_ptr<WebLayerImpl> layer_; | 57 scoped_ptr<WebLayerImpl> layer_; |
58 bool uses_mailbox_; | 58 bool uses_mailbox_; |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(WebExternalTextureLayerImpl); | 60 DISALLOW_COPY_AND_ASSIGN(WebExternalTextureLayerImpl); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace webkit | 63 } // namespace webkit |
64 | 64 |
65 #endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ | 65 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H
_ |
OLD | NEW |