| 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 1ca49b4e402412afe8f5e5282ec3a5df73b00661..2160a4913bf856972f204030057f1f16e952cbd2 100644
|
| --- a/content/browser/frame_host/cross_process_frame_connector.cc
|
| +++ b/content/browser/frame_host/cross_process_frame_connector.cc
|
| @@ -44,6 +44,7 @@ bool CrossProcessFrameConnector::OnMessageReceived(const IPC::Message& msg) {
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_UpdateViewportIntersection,
|
| OnUpdateViewportIntersection)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_VisibilityChanged, OnVisibilityChanged)
|
| + IPC_MESSAGE_HANDLER(FrameHostMsg_SetIsInert, OnSetIsInert)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_SatisfySequence, OnSatisfySequence)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_RequireSequence, OnRequireSequence)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| @@ -277,6 +278,11 @@ void CrossProcessFrameConnector::OnVisibilityChanged(bool visible) {
|
| }
|
| }
|
|
|
| +void CrossProcessFrameConnector::OnSetIsInert(bool inert) {
|
| + if (view_)
|
| + view_->SetIsInert(inert);
|
| +}
|
| +
|
| void CrossProcessFrameConnector::SetRect(const gfx::Rect& frame_rect) {
|
| gfx::Rect old_rect = child_frame_rect_;
|
| child_frame_rect_ = frame_rect;
|
|
|