| 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 <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 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 749 void InterstitialPageImpl::DontCreateViewForTesting() { | 749 void InterstitialPageImpl::DontCreateViewForTesting() { |
| 750 create_view_ = false; | 750 create_view_ = false; |
| 751 } | 751 } |
| 752 | 752 |
| 753 gfx::Rect InterstitialPageImpl::GetRootWindowResizerRect() const { | 753 gfx::Rect InterstitialPageImpl::GetRootWindowResizerRect() const { |
| 754 return gfx::Rect(); | 754 return gfx::Rect(); |
| 755 } | 755 } |
| 756 | 756 |
| 757 void InterstitialPageImpl::CreateNewWindow( | 757 void InterstitialPageImpl::CreateNewWindow( |
| 758 SiteInstance* source_site_instance, | 758 SiteInstance* source_site_instance, |
| 759 int route_id, | 759 int32 route_id, |
| 760 int main_frame_route_id, | 760 int32 main_frame_route_id, |
| 761 int32 main_frame_widget_route_id, |
| 761 const ViewHostMsg_CreateWindow_Params& params, | 762 const ViewHostMsg_CreateWindow_Params& params, |
| 762 SessionStorageNamespace* session_storage_namespace) { | 763 SessionStorageNamespace* session_storage_namespace) { |
| 763 NOTREACHED() << "InterstitialPage does not support showing popups yet."; | 764 NOTREACHED() << "InterstitialPage does not support showing popups yet."; |
| 764 } | 765 } |
| 765 | 766 |
| 766 void InterstitialPageImpl::CreateNewWidget(int render_process_id, | 767 void InterstitialPageImpl::CreateNewWidget(int render_process_id, |
| 767 int route_id, | 768 int route_id, |
| 768 blink::WebPopupType popup_type) { | 769 blink::WebPopupType popup_type) { |
| 769 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; | 770 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; |
| 770 } | 771 } |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted( | 941 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted( |
| 941 const LoadCommittedDetails& load_details) { | 942 const LoadCommittedDetails& load_details) { |
| 942 interstitial_->OnNavigatingAwayOrTabClosing(); | 943 interstitial_->OnNavigatingAwayOrTabClosing(); |
| 943 } | 944 } |
| 944 | 945 |
| 945 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { | 946 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { |
| 946 interstitial_->OnNavigatingAwayOrTabClosing(); | 947 interstitial_->OnNavigatingAwayOrTabClosing(); |
| 947 } | 948 } |
| 948 | 949 |
| 949 } // namespace content | 950 } // namespace content |
| OLD | NEW |