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

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

Issue 92873004: Prevent the browser process from creating duplicate RenderViewHosts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 7 years 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 | Annotate | Revision Log
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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 690
691 void InterstitialPageImpl::DontCreateViewForTesting() { 691 void InterstitialPageImpl::DontCreateViewForTesting() {
692 create_view_ = false; 692 create_view_ = false;
693 } 693 }
694 694
695 gfx::Rect InterstitialPageImpl::GetRootWindowResizerRect() const { 695 gfx::Rect InterstitialPageImpl::GetRootWindowResizerRect() const {
696 return gfx::Rect(); 696 return gfx::Rect();
697 } 697 }
698 698
699 void InterstitialPageImpl::CreateNewWindow( 699 void InterstitialPageImpl::CreateNewWindow(
700 int render_process_id,
700 int route_id, 701 int route_id,
701 int main_frame_route_id, 702 int main_frame_route_id,
702 const ViewHostMsg_CreateWindow_Params& params, 703 const ViewHostMsg_CreateWindow_Params& params,
703 SessionStorageNamespace* session_storage_namespace) { 704 SessionStorageNamespace* session_storage_namespace) {
704 NOTREACHED() << "InterstitialPage does not support showing popups yet."; 705 NOTREACHED() << "InterstitialPage does not support showing popups yet.";
705 } 706 }
706 707
707 void InterstitialPageImpl::CreateNewWidget(int route_id, 708 void InterstitialPageImpl::CreateNewWidget(int route_id,
708 blink::WebPopupType popup_type) { 709 blink::WebPopupType popup_type) {
709 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; 710 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet.";
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 843
843 web_contents->GetDelegateView()->TakeFocus(reverse); 844 web_contents->GetDelegateView()->TakeFocus(reverse);
844 } 845 }
845 846
846 void InterstitialPageImpl::InterstitialPageRVHDelegateView::OnFindReply( 847 void InterstitialPageImpl::InterstitialPageRVHDelegateView::OnFindReply(
847 int request_id, int number_of_matches, const gfx::Rect& selection_rect, 848 int request_id, int number_of_matches, const gfx::Rect& selection_rect,
848 int active_match_ordinal, bool final_update) { 849 int active_match_ordinal, bool final_update) {
849 } 850 }
850 851
851 } // namespace content 852 } // 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