| OLD | NEW |
| 1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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_TEXTURE_LAYER_H_ | 5 #ifndef CC_TEXTURE_LAYER_H_ |
| 6 #define CC_TEXTURE_LAYER_H_ | 6 #define CC_TEXTURE_LAYER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "cc/base/cc_export.h" | 11 #include "cc/base/cc_export.h" |
| 12 #include "cc/layer.h" | 12 #include "cc/layer.h" |
| 13 #include "cc/texture_mailbox.h" | 13 #include "cc/resources/texture_mailbox.h" |
| 14 | 14 |
| 15 namespace WebKit { class WebGraphicsContext3D; } | 15 namespace WebKit { class WebGraphicsContext3D; } |
| 16 | 16 |
| 17 namespace cc { | 17 namespace cc { |
| 18 | 18 |
| 19 class TextureLayerClient; | 19 class TextureLayerClient; |
| 20 | 20 |
| 21 // A Layer containing a the rendered output of a plugin instance. | 21 // A Layer containing a the rendered output of a plugin instance. |
| 22 class CC_EXPORT TextureLayer : public Layer { | 22 class CC_EXPORT TextureLayer : public Layer { |
| 23 public: | 23 public: |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 97 |
| 98 unsigned texture_id_; | 98 unsigned texture_id_; |
| 99 TextureMailbox texture_mailbox_; | 99 TextureMailbox texture_mailbox_; |
| 100 bool own_mailbox_; | 100 bool own_mailbox_; |
| 101 | 101 |
| 102 DISALLOW_COPY_AND_ASSIGN(TextureLayer); | 102 DISALLOW_COPY_AND_ASSIGN(TextureLayer); |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } | 105 } |
| 106 #endif // CC_TEXTURE_LAYER_H_ | 106 #endif // CC_TEXTURE_LAYER_H_ |
| OLD | NEW |