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

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

Issue 1410313006: Separate RenderViewHost from RenderWidgetHost, part 5: move calls to the RenderWidgetHostDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 1 month 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 <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 } 751 }
752 752
753 InterstitialPageDelegate* InterstitialPageImpl::GetDelegateForTesting() { 753 InterstitialPageDelegate* InterstitialPageImpl::GetDelegateForTesting() {
754 return delegate_.get(); 754 return delegate_.get();
755 } 755 }
756 756
757 void InterstitialPageImpl::DontCreateViewForTesting() { 757 void InterstitialPageImpl::DontCreateViewForTesting() {
758 create_view_ = false; 758 create_view_ = false;
759 } 759 }
760 760
761 gfx::Rect InterstitialPageImpl::GetRootWindowResizerRect() const {
762 return gfx::Rect();
763 }
764
765 void InterstitialPageImpl::CreateNewWindow( 761 void InterstitialPageImpl::CreateNewWindow(
766 SiteInstance* source_site_instance, 762 SiteInstance* source_site_instance,
767 int32_t route_id, 763 int32_t route_id,
768 int32_t main_frame_route_id, 764 int32_t main_frame_route_id,
769 int32_t main_frame_widget_route_id, 765 int32_t main_frame_widget_route_id,
770 const ViewHostMsg_CreateWindow_Params& params, 766 const ViewHostMsg_CreateWindow_Params& params,
771 SessionStorageNamespace* session_storage_namespace) { 767 SessionStorageNamespace* session_storage_namespace) {
772 NOTREACHED() << "InterstitialPage does not support showing popups yet."; 768 NOTREACHED() << "InterstitialPage does not support showing popups yet.";
773 } 769 }
774 770
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted( 943 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted(
948 const LoadCommittedDetails& load_details) { 944 const LoadCommittedDetails& load_details) {
949 interstitial_->OnNavigatingAwayOrTabClosing(); 945 interstitial_->OnNavigatingAwayOrTabClosing();
950 } 946 }
951 947
952 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { 948 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() {
953 interstitial_->OnNavigatingAwayOrTabClosing(); 949 interstitial_->OnNavigatingAwayOrTabClosing();
954 } 950 }
955 951
956 } // namespace content 952 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.h ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698