Chromium Code Reviews| 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 1fb9201c58d29fbde43c47ce8305b46c99893df0..908ebc96b7c68bd5289ecb6d3578b8ab8cf016b6 100644 |
| --- a/content/browser/web_contents/web_contents_impl.cc |
| +++ b/content/browser/web_contents/web_contents_impl.cc |
| @@ -970,6 +970,16 @@ void WebContentsImpl::UpdateZoomIfNecessary(const std::string& scheme, |
| UpdateZoom(level); |
| } |
| +void WebContentsImpl::UpdateDeviceScaleFactor(double device_scale_factor) { |
| + SendPageMessage( |
| + new PageMsg_SetDeviceScaleFactor(MSG_ROUTING_NONE, device_scale_factor)); |
| +} |
| + |
| +void WebContentsImpl::GetScreenInfo(blink::WebScreenInfo* web_screen_info) { |
| + if (GetView()) |
| + GetView()->GetScreenInfo(web_screen_info); |
|
oshima
2016/07/29 18:11:46
indent
wjmaclean
2016/07/29 18:40:04
Done.
|
| +} |
| + |
| WebUI* WebContentsImpl::CreateSubframeWebUI(const GURL& url, |
| const std::string& frame_name) { |
| DCHECK(!frame_name.empty()); |