| 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 a24ea16d2dff31c2e46d04080e2556a8751f4228..90dc2f62efed18ed8f865cc2f7e06e17efa5dab5 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -734,6 +734,8 @@ bool WebContentsImpl::OnMessageReceived(RenderViewHost* render_view_host,
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_UpdatePageImportanceSignals,
|
| OnUpdatePageImportanceSignals)
|
| IPC_MESSAGE_HANDLER(FrameHostMsg_Find_Reply, OnFindReply)
|
| + IPC_MESSAGE_HANDLER(FrameHostMsg_RestorePageScaleFactorOnLoad,
|
| + SetPageScaleFactorForSubframes)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_AppCacheAccessed, OnAppCacheAccessed)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_WebUISend, OnWebUISend)
|
| #if defined(ENABLE_PLUGINS)
|
| @@ -1026,6 +1028,11 @@ void WebContentsImpl::UpdateDeviceScaleFactor(double device_scale_factor) {
|
| new PageMsg_SetDeviceScaleFactor(MSG_ROUTING_NONE, device_scale_factor));
|
| }
|
|
|
| +void WebContentsImpl::SetPageScaleFactorForSubframes(double page_scale_factor) {
|
| + SendPageMessage(
|
| + new PageMsg_SetPageScaleFactor(MSG_ROUTING_NONE, page_scale_factor));
|
| +}
|
| +
|
| void WebContentsImpl::GetScreenInfo(ScreenInfo* screen_info) {
|
| if (GetView())
|
| GetView()->GetScreenInfo(screen_info);
|
|
|