| 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 50d8b5895a34efdfb1cdf42ec68dfec96b175fdb..cef3f9a22a12ff724117c8cb6a2dfd0cd35c1fe3 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)
|
| @@ -278,6 +279,12 @@ void CrossProcessFrameConnector::OnVisibilityChanged(bool visible) {
|
| }
|
| }
|
|
|
| +void CrossProcessFrameConnector::OnSetIsInert(bool inert) {
|
| + is_inert_ = inert;
|
| + if (view_)
|
| + view_->SetIsInert();
|
| +}
|
| +
|
| void CrossProcessFrameConnector::SetRect(const gfx::Rect& frame_rect) {
|
| gfx::Rect old_rect = child_frame_rect_;
|
| child_frame_rect_ = frame_rect;
|
|
|