| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/frame_host/interstitial_page_impl.h" | 5 #include "content/browser/frame_host/interstitial_page_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 | 949 |
| 950 void InterstitialPageImpl::UpdateDeviceScaleFactor(double device_scale_factor) { | 950 void InterstitialPageImpl::UpdateDeviceScaleFactor(double device_scale_factor) { |
| 951 WebContentsImpl* web_contents_impl = | 951 WebContentsImpl* web_contents_impl = |
| 952 static_cast<WebContentsImpl*>(web_contents_); | 952 static_cast<WebContentsImpl*>(web_contents_); |
| 953 if (!web_contents_impl) | 953 if (!web_contents_impl) |
| 954 return; | 954 return; |
| 955 | 955 |
| 956 web_contents_impl->UpdateDeviceScaleFactor(device_scale_factor); | 956 web_contents_impl->UpdateDeviceScaleFactor(device_scale_factor); |
| 957 } | 957 } |
| 958 | 958 |
| 959 bool InterstitialPageImpl::OnMessageReceived( |
| 960 RenderWidgetHost* render_widget_host, |
| 961 const IPC::Message& message) { |
| 962 return false; |
| 963 } |
| 964 |
| 959 } // namespace content | 965 } // namespace content |
| OLD | NEW |