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

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

Issue 1986643002: Track pending WebContents and widgets by (process_id, routing_id) pair. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreen-flash
Patch Set: Disable popup menu test for Mac/Android Created 4 years, 7 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 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « content/browser/frame_host/interstitial_page_impl.h ('k') | content/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698