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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 blink::WebPopupType popup_type) { | 752 blink::WebPopupType popup_type) { |
753 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; | 753 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; |
754 } | 754 } |
755 | 755 |
756 void InterstitialPageImpl::CreateNewFullscreenWidget(int32_t render_process_id, | 756 void InterstitialPageImpl::CreateNewFullscreenWidget(int32_t render_process_id, |
757 int32_t route_id) { | 757 int32_t route_id) { |
758 NOTREACHED() | 758 NOTREACHED() |
759 << "InterstitialPage does not support showing full screen popups."; | 759 << "InterstitialPage does not support showing full screen popups."; |
760 } | 760 } |
761 | 761 |
762 void InterstitialPageImpl::ShowCreatedWindow(int route_id, | 762 void InterstitialPageImpl::ShowCreatedWindow(int process_id, |
| 763 int route_id, |
763 WindowOpenDisposition disposition, | 764 WindowOpenDisposition disposition, |
764 const gfx::Rect& initial_rect, | 765 const gfx::Rect& initial_rect, |
765 bool user_gesture) { | 766 bool user_gesture) { |
766 NOTREACHED() << "InterstitialPage does not support showing popups yet."; | 767 NOTREACHED() << "InterstitialPage does not support showing popups yet."; |
767 } | 768 } |
768 | 769 |
769 void InterstitialPageImpl::ShowCreatedWidget(int route_id, | 770 void InterstitialPageImpl::ShowCreatedWidget(int process_id, |
| 771 int route_id, |
770 const gfx::Rect& initial_rect) { | 772 const gfx::Rect& initial_rect) { |
771 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; | 773 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; |
772 } | 774 } |
773 | 775 |
774 void InterstitialPageImpl::ShowCreatedFullscreenWidget(int route_id) { | 776 void InterstitialPageImpl::ShowCreatedFullscreenWidget(int process_id, |
| 777 int route_id) { |
775 NOTREACHED() | 778 NOTREACHED() |
776 << "InterstitialPage does not support showing full screen popups."; | 779 << "InterstitialPage does not support showing full screen popups."; |
777 } | 780 } |
778 | 781 |
779 SessionStorageNamespace* InterstitialPageImpl::GetSessionStorageNamespace( | 782 SessionStorageNamespace* InterstitialPageImpl::GetSessionStorageNamespace( |
780 SiteInstance* instance) { | 783 SiteInstance* instance) { |
781 return session_storage_namespace_.get(); | 784 return session_storage_namespace_.get(); |
782 } | 785 } |
783 | 786 |
784 FrameTree* InterstitialPageImpl::GetFrameTree() { | 787 FrameTree* InterstitialPageImpl::GetFrameTree() { |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted( | 934 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted( |
932 const LoadCommittedDetails& load_details) { | 935 const LoadCommittedDetails& load_details) { |
933 interstitial_->OnNavigatingAwayOrTabClosing(); | 936 interstitial_->OnNavigatingAwayOrTabClosing(); |
934 } | 937 } |
935 | 938 |
936 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { | 939 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { |
937 interstitial_->OnNavigatingAwayOrTabClosing(); | 940 interstitial_->OnNavigatingAwayOrTabClosing(); |
938 } | 941 } |
939 | 942 |
940 } // namespace content | 943 } // namespace content |
OLD | NEW |