| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index e02c77031447bd168bd78da1759ae6fdceb488a9..70a5a0ad15a0be00a363613519121f52b7e25fd2 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -667,6 +667,10 @@ bool WebContentsImpl::OnMessageReceived(RenderViewHost* render_view_host,
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_OpenDateTimeDialog,
|
| OnOpenDateTimeDialog)
|
| #endif
|
| + IPC_MESSAGE_HANDLER(FrameHostMsg_IncrementCapturerCount,
|
| + OnIncrementCapturerCount)
|
| + IPC_MESSAGE_HANDLER(FrameHostMsg_DecrementCapturerCount,
|
| + OnDecrementCapturerCount)
|
| IPC_MESSAGE_UNHANDLED(handled = false)
|
| IPC_END_MESSAGE_MAP()
|
| render_view_message_source_ = NULL;
|
| @@ -2212,6 +2216,16 @@ void WebContentsImpl::OnMoveValidationMessage(
|
| delegate_->MoveValidationMessage(this, anchor_in_root_view);
|
| }
|
|
|
| +void WebContentsImpl::OnIncrementCapturerCount() {
|
| + DVLOG(3) << __FUNCTION__;
|
| + IncrementCapturerCount(gfx::Size());
|
| +}
|
| +
|
| +void WebContentsImpl::OnDecrementCapturerCount() {
|
| + DVLOG(3) << __FUNCTION__;
|
| + DecrementCapturerCount();
|
| +}
|
| +
|
| void WebContentsImpl::DidSendScreenRects(RenderWidgetHostImpl* rwh) {
|
| if (browser_plugin_embedder_)
|
| browser_plugin_embedder_->DidSendScreenRects();
|
|
|