Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1001)

Side by Side Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 2363573002: Move ViewHostMsg_CreateWindow to mojom (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after
733 733
734 void InterstitialPageImpl::DontCreateViewForTesting() { 734 void InterstitialPageImpl::DontCreateViewForTesting() {
735 create_view_ = false; 735 create_view_ = false;
736 } 736 }
737 737
738 void InterstitialPageImpl::CreateNewWindow( 738 void InterstitialPageImpl::CreateNewWindow(
739 SiteInstance* source_site_instance, 739 SiteInstance* source_site_instance,
740 int32_t route_id, 740 int32_t route_id,
741 int32_t main_frame_route_id, 741 int32_t main_frame_route_id,
742 int32_t main_frame_widget_route_id, 742 int32_t main_frame_widget_route_id,
743 const ViewHostMsg_CreateWindow_Params& params, 743 const mojom::CreateNewWindowParams& params,
744 SessionStorageNamespace* session_storage_namespace) { 744 SessionStorageNamespace* session_storage_namespace) {
745 NOTREACHED() << "InterstitialPage does not support showing popups yet."; 745 NOTREACHED() << "InterstitialPage does not support showing popups yet.";
746 } 746 }
747 747
748 void InterstitialPageImpl::CreateNewWidget(int32_t render_process_id, 748 void InterstitialPageImpl::CreateNewWidget(int32_t render_process_id,
749 int32_t route_id, 749 int32_t route_id,
750 blink::WebPopupType popup_type) { 750 blink::WebPopupType popup_type) {
751 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; 751 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet.";
752 } 752 }
753 753
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 void InterstitialPageImpl::UpdateDeviceScaleFactor(double device_scale_factor) { 957 void InterstitialPageImpl::UpdateDeviceScaleFactor(double device_scale_factor) {
958 WebContentsImpl* web_contents_impl = 958 WebContentsImpl* web_contents_impl =
959 static_cast<WebContentsImpl*>(web_contents_); 959 static_cast<WebContentsImpl*>(web_contents_);
960 if (!web_contents_impl) 960 if (!web_contents_impl)
961 return; 961 return;
962 962
963 web_contents_impl->UpdateDeviceScaleFactor(device_scale_factor); 963 web_contents_impl->UpdateDeviceScaleFactor(device_scale_factor);
964 } 964 }
965 965
966 } // namespace content 966 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.h ('k') | content/browser/renderer_host/render_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698