| Index: content/browser/frame_host/cross_process_frame_connector.cc
|
| diff --git a/content/browser/frame_host/cross_process_frame_connector.cc b/content/browser/frame_host/cross_process_frame_connector.cc
|
| index d6fd0f756c171a7556cf56081cb417660731d464..f1eb10f819d3e1bc3d96e2ae7b52b68c606c477d 100644
|
| --- a/content/browser/frame_host/cross_process_frame_connector.cc
|
| +++ b/content/browser/frame_host/cross_process_frame_connector.cc
|
| @@ -42,6 +42,8 @@ bool CrossProcessFrameConnector::OnMessageReceived(const IPC::Message& msg) {
|
| IPC_BEGIN_MESSAGE_MAP(CrossProcessFrameConnector, msg)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_ForwardInputEvent, OnForwardInputEvent)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_FrameRectChanged, OnFrameRectChanged)
|
| + IPC_MESSAGE_HANDLER(FrameHostMsg_UpdateViewportIntersection,
|
| + OnUpdateViewportIntersection)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_VisibilityChanged, OnVisibilityChanged)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_SatisfySequence, OnSatisfySequence)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_RequireSequence, OnRequireSequence)
|
| @@ -297,6 +299,12 @@ void CrossProcessFrameConnector::OnFrameRectChanged(
|
| SetRect(frame_rect);
|
| }
|
|
|
| +void CrossProcessFrameConnector::OnUpdateViewportIntersection(
|
| + const gfx::Rect& viewport_intersection) {
|
| + if (view_)
|
| + view_->UpdateViewportIntersection(viewport_intersection);
|
| +}
|
| +
|
| void CrossProcessFrameConnector::OnVisibilityChanged(bool visible) {
|
| if (!view_)
|
| return;
|
|
|