| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 16 #include "base/memory/shared_memory.h" | 16 #include "base/memory/shared_memory.h" |
| 17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
| 18 #include "cc/surfaces/surface_id.h" | 18 #include "cc/surfaces/surface_id.h" |
| 19 #include "content/common/content_export.h" | 19 #include "content/common/content_export.h" |
| 20 #include "ui/gfx/geometry/size.h" | 20 #include "ui/gfx/geometry/size.h" |
| 21 | 21 |
| 22 namespace cc { | 22 namespace cc { |
| 23 struct SurfaceSequence; | 23 struct SurfaceSequence; |
| 24 | 24 |
| 25 class CompositorFrame; | |
| 26 class Layer; | 25 class Layer; |
| 27 } | 26 } |
| 28 | 27 |
| 29 namespace blink { | 28 namespace blink { |
| 30 class WebLayer; | 29 class WebLayer; |
| 31 class WebPluginContainer; | 30 class WebPluginContainer; |
| 32 class WebRemoteFrame; | 31 class WebRemoteFrame; |
| 33 } | 32 } |
| 34 | 33 |
| 35 namespace gfx { | 34 namespace gfx { |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 std::unique_ptr<blink::WebLayer> web_layer_; | 110 std::unique_ptr<blink::WebLayer> web_layer_; |
| 112 cc::SurfaceId surface_id_; | 111 cc::SurfaceId surface_id_; |
| 113 blink::WebRemoteFrame* frame_; | 112 blink::WebRemoteFrame* frame_; |
| 114 | 113 |
| 115 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper); | 114 DISALLOW_COPY_AND_ASSIGN(ChildFrameCompositingHelper); |
| 116 }; | 115 }; |
| 117 | 116 |
| 118 } // namespace content | 117 } // namespace content |
| 119 | 118 |
| 120 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ | 119 #endif // CONTENT_RENDERER_CHILD_FRAME_COMPOSITING_HELPER_H_ |
| OLD | NEW |