Chromium Code Reviews| Index: content/browser/frame_host/render_widget_host_view_child_frame.h |
| diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.h b/content/browser/frame_host/render_widget_host_view_child_frame.h |
| index d0990c5257d486f575c7b035008aa7dfd3bdbb99..47a6e11a6a8ac21468099f2acaf2d48107b78ef6 100644 |
| --- a/content/browser/frame_host/render_widget_host_view_child_frame.h |
| +++ b/content/browser/frame_host/render_widget_host_view_child_frame.h |
| @@ -18,7 +18,6 @@ |
| #include "cc/resources/returned_resource.h" |
| #include "cc/scheduler/begin_frame_source.h" |
| #include "cc/surfaces/compositor_frame_sink_support_client.h" |
| -#include "cc/surfaces/local_surface_id_allocator.h" |
| #include "cc/surfaces/surface_info.h" |
| #include "cc/surfaces/surface_sequence.h" |
| #include "content/browser/compositor/image_transport_factory.h" |
| @@ -107,6 +106,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame |
| void GestureEventAck(const blink::WebGestureEvent& event, |
| InputEventAckState ack_result) override; |
| void OnSwapCompositorFrame(uint32_t compositor_frame_sink_id, |
| + cc::LocalSurfaceId local_surface_id, |
|
Fady Samuel
2017/03/15 12:05:47
const cc::LocalSurfaceId&
Saman Sami
2017/03/16 18:33:07
Done.
|
| cc::CompositorFrame frame) override; |
| // Since the URL of content rendered by this class is not displayed in |
| // the URL bar, this method does not need an implementation. |
| @@ -191,6 +191,7 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame |
| void Init(); |
| void ProcessCompositorFrame(uint32_t compositor_frame_sink_id, |
| + cc::LocalSurfaceId local_surface_id, |
|
Fady Samuel
2017/03/15 12:05:47
const cc::LocalSurfaceId&
Saman Sami
2017/03/16 18:33:07
Done.
|
| cc::CompositorFrame frame); |
| void SendSurfaceInfoToEmbedder(); |
| @@ -211,7 +212,6 @@ class CONTENT_EXPORT RenderWidgetHostViewChildFrame |
| cc::FrameSinkId frame_sink_id_; |
| // Surface-related state. |
| - std::unique_ptr<cc::LocalSurfaceIdAllocator> id_allocator_; |
| std::unique_ptr<cc::CompositorFrameSinkSupport> support_; |
| cc::LocalSurfaceId local_surface_id_; |
| uint32_t next_surface_sequence_; |