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 CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ | 5 #ifndef CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ |
6 #define CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ | 6 #define CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
14 #include "cc/layers/delegated_frame_resource_collection.h" | 14 #include "cc/layers/delegated_frame_resource_collection.h" |
| 15 #include "cc/surfaces/surface_id.h" |
15 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
16 #include "ui/gfx/geometry/size.h" | 17 #include "ui/gfx/geometry/size.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class SharedMemory; | 20 class SharedMemory; |
20 } | 21 } |
21 | 22 |
22 namespace cc { | 23 namespace cc { |
23 struct SurfaceId; | |
24 struct SurfaceSequence; | 24 struct SurfaceSequence; |
25 | 25 |
26 class CompositorFrame; | 26 class CompositorFrame; |
27 class Layer; | 27 class Layer; |
28 class SolidColorLayer; | 28 class SolidColorLayer; |
29 class SurfaceLayer; | 29 class SurfaceLayer; |
30 class DelegatedFrameProvider; | 30 class DelegatedFrameProvider; |
31 class DelegatedFrameResourceCollection; | 31 class DelegatedFrameResourceCollection; |
32 class DelegatedRendererLayer; | 32 class DelegatedRendererLayer; |
33 } | 33 } |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 144 |
145 scoped_ptr<blink::WebLayer> web_layer_; | 145 scoped_ptr<blink::WebLayer> web_layer_; |
146 blink::WebFrame* frame_; | 146 blink::WebFrame* frame_; |
147 | 147 |
148 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper); | 148 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper); |
149 }; | 149 }; |
150 | 150 |
151 } // namespace content | 151 } // namespace content |
152 | 152 |
153 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ | 153 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ |
OLD | NEW |