OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_DELEGATED_RENDERER_LAYER_H_ | 5 #ifndef CC_DELEGATED_RENDERER_LAYER_H_ |
6 #define CC_DELEGATED_RENDERER_LAYER_H_ | 6 #define CC_DELEGATED_RENDERER_LAYER_H_ |
7 | 7 |
8 #include "cc/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "cc/layer.h" | 9 #include "cc/layer.h" |
10 #include "cc/transferable_resource.h" | 10 #include "cc/transferable_resource.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 class DelegatedFrameData; | 13 class DelegatedFrameData; |
14 | 14 |
15 class CC_EXPORT DelegatedRendererLayer : public Layer { | 15 class CC_EXPORT DelegatedRendererLayer : public Layer { |
16 public: | 16 public: |
17 static scoped_refptr<DelegatedRendererLayer> Create(); | 17 static scoped_refptr<DelegatedRendererLayer> Create(); |
18 | 18 |
(...skipping 21 matching lines...) Expand all Loading... |
40 private: | 40 private: |
41 scoped_ptr<DelegatedFrameData> frame_data_; | 41 scoped_ptr<DelegatedFrameData> frame_data_; |
42 gfx::RectF damage_in_frame_; | 42 gfx::RectF damage_in_frame_; |
43 gfx::Size frame_size_; | 43 gfx::Size frame_size_; |
44 gfx::Size display_size_; | 44 gfx::Size display_size_; |
45 TransferableResourceArray unused_resources_for_child_compositor_; | 45 TransferableResourceArray unused_resources_for_child_compositor_; |
46 }; | 46 }; |
47 | 47 |
48 } | 48 } |
49 #endif // CC_DELEGATED_RENDERER_LAYER_H_ | 49 #endif // CC_DELEGATED_RENDERER_LAYER_H_ |
OLD | NEW |