OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CC_BLINK_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ | 5 #ifndef CC_BLINK_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ |
6 #define CC_BLINK_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ | 6 #define CC_BLINK_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
11 #include "cc/blink/cc_blink_export.h" | 12 #include "cc/blink/cc_blink_export.h" |
12 #include "cc/layers/texture_layer_client.h" | 13 #include "cc/layers/texture_layer_client.h" |
13 #include "third_party/WebKit/public/platform/WebExternalTextureLayer.h" | 14 #include "third_party/WebKit/public/platform/WebExternalTextureLayer.h" |
14 | 15 |
15 namespace blink { | 16 namespace blink { |
16 class WebExternalTextureLayerClient; | 17 class WebExternalTextureLayerClient; |
17 struct WebFloatRect; | 18 struct WebFloatRect; |
18 struct WebExternalTextureMailbox; | 19 struct WebExternalTextureMailbox; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 blink::WebExternalTextureLayerClient* client_; | 65 blink::WebExternalTextureLayerClient* client_; |
65 scoped_ptr<WebLayerImpl> layer_; | 66 scoped_ptr<WebLayerImpl> layer_; |
66 ScopedVector<WebExternalBitmapImpl> free_bitmaps_; | 67 ScopedVector<WebExternalBitmapImpl> free_bitmaps_; |
67 | 68 |
68 DISALLOW_COPY_AND_ASSIGN(WebExternalTextureLayerImpl); | 69 DISALLOW_COPY_AND_ASSIGN(WebExternalTextureLayerImpl); |
69 }; | 70 }; |
70 | 71 |
71 } // namespace cc_blink | 72 } // namespace cc_blink |
72 | 73 |
73 #endif // CC_BLINK_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ | 74 #endif // CC_BLINK_WEB_EXTERNAL_TEXTURE_LAYER_IMPL_H_ |
OLD | NEW |