| Index: content/browser/frame_host/cross_process_frame_connector.h
|
| diff --git a/content/browser/frame_host/cross_process_frame_connector.h b/content/browser/frame_host/cross_process_frame_connector.h
|
| index c52c9913d81885c2ea0d02b2348222985782ba9d..7ea41af779f925a536b7f1acd1f3a1e5fc140614 100644
|
| --- a/content/browser/frame_host/cross_process_frame_connector.h
|
| +++ b/content/browser/frame_host/cross_process_frame_connector.h
|
| @@ -12,6 +12,11 @@ namespace blink {
|
| class WebInputEvent;
|
| }
|
|
|
| +namespace cc {
|
| +struct SurfaceId;
|
| +struct SurfaceSequence;
|
| +}
|
| +
|
| namespace IPC {
|
| class Message;
|
| }
|
| @@ -76,10 +81,15 @@ class CrossProcessFrameConnector {
|
|
|
| void RenderProcessGone();
|
|
|
| - void ChildFrameCompositorFrameSwapped(uint32 output_surface_id,
|
| - int host_id,
|
| - int route_id,
|
| - scoped_ptr<cc::CompositorFrame> frame);
|
| + virtual void ChildFrameCompositorFrameSwapped(
|
| + uint32 output_surface_id,
|
| + int host_id,
|
| + int route_id,
|
| + scoped_ptr<cc::CompositorFrame> frame);
|
| + virtual void SetChildFrameSurface(cc::SurfaceId& surface_id,
|
| + gfx::Size frame_size,
|
| + float scale_factor,
|
| + cc::SurfaceSequence& sequence);
|
|
|
| gfx::Rect ChildFrameRect();
|
|
|
| @@ -91,6 +101,9 @@ class CrossProcessFrameConnector {
|
| const FrameHostMsg_ReclaimCompositorResources_Params& params);
|
| void OnForwardInputEvent(const blink::WebInputEvent* event);
|
| void OnInitializeChildFrame(gfx::Rect frame_rect, float scale_factor);
|
| + void OnSatisfySequence(const cc::SurfaceSequence& sequence);
|
| + void OnRequireSequence(const cc::SurfaceId& id,
|
| + const cc::SurfaceSequence& sequence);
|
|
|
| void SetDeviceScaleFactor(float scale_factor);
|
| void SetSize(gfx::Rect frame_rect);
|
|
|