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

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

Issue 2721303003: DO NOT SUBMIT: test the test impl. shoul fail (Closed)
Patch Set: Created 3 years, 9 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 729 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 void InterstitialPageImpl::CreateNewWindow( 740 void InterstitialPageImpl::CreateNewWindow(
741 SiteInstance* source_site_instance, 741 SiteInstance* source_site_instance,
742 int32_t render_view_route_id, 742 int32_t render_view_route_id,
743 int32_t main_frame_route_id, 743 int32_t main_frame_route_id,
744 int32_t main_frame_widget_route_id, 744 int32_t main_frame_widget_route_id,
745 const mojom::CreateNewWindowParams& params, 745 const mojom::CreateNewWindowParams& params,
746 SessionStorageNamespace* session_storage_namespace) { 746 SessionStorageNamespace* session_storage_namespace) {
747 NOTREACHED() << "InterstitialPage does not support showing popups."; 747 NOTREACHED() << "InterstitialPage does not support showing popups.";
748 } 748 }
749 749
750 void InterstitialPageImpl::SetFocusedFrame(FrameTreeNode* node,
751 SiteInstance* source) {
752 frame_tree_.SetFocusedFrame(node, source);
753 }
754
755 void InterstitialPageImpl::CreateNewWidget(int32_t render_process_id, 750 void InterstitialPageImpl::CreateNewWidget(int32_t render_process_id,
756 int32_t route_id, 751 int32_t route_id,
757 blink::WebPopupType popup_type) { 752 blink::WebPopupType popup_type) {
758 NOTREACHED() << "InterstitialPage does not support showing drop-downs."; 753 NOTREACHED() << "InterstitialPage does not support showing drop-downs.";
759 } 754 }
760 755
761 void InterstitialPageImpl::CreateNewFullscreenWidget(int32_t render_process_id, 756 void InterstitialPageImpl::CreateNewFullscreenWidget(int32_t render_process_id,
762 int32_t route_id) { 757 int32_t route_id) {
763 NOTREACHED() 758 NOTREACHED()
764 << "InterstitialPage does not support showing full screen popups."; 759 << "InterstitialPage does not support showing full screen popups.";
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
967 void InterstitialPageImpl::UpdateDeviceScaleFactor(double device_scale_factor) { 962 void InterstitialPageImpl::UpdateDeviceScaleFactor(double device_scale_factor) {
968 WebContentsImpl* web_contents_impl = 963 WebContentsImpl* web_contents_impl =
969 static_cast<WebContentsImpl*>(web_contents_); 964 static_cast<WebContentsImpl*>(web_contents_);
970 if (!web_contents_impl) 965 if (!web_contents_impl)
971 return; 966 return;
972 967
973 web_contents_impl->UpdateDeviceScaleFactor(device_scale_factor); 968 web_contents_impl->UpdateDeviceScaleFactor(device_scale_factor);
974 } 969 }
975 970
976 } // namespace content 971 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.h ('k') | content/browser/frame_host/interstitial_page_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698