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

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

Issue 14221009: Rename RenderViewHostDelegate::RenderViewGone -> RenderViewTerminated (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile fix Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/web_contents/interstitial_page_impl.h" 5 #include "content/browser/web_contents/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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 } 350 }
351 351
352 RenderViewHostDelegateView* InterstitialPageImpl::GetDelegateView() { 352 RenderViewHostDelegateView* InterstitialPageImpl::GetDelegateView() {
353 return rvh_delegate_view_.get(); 353 return rvh_delegate_view_.get();
354 } 354 }
355 355
356 const GURL& InterstitialPageImpl::GetURL() const { 356 const GURL& InterstitialPageImpl::GetURL() const {
357 return url_; 357 return url_;
358 } 358 }
359 359
360 void InterstitialPageImpl::RenderViewGone(RenderViewHost* render_view_host, 360 void InterstitialPageImpl::RenderViewTerminated(
361 base::TerminationStatus status, 361 RenderViewHost* render_view_host,
362 int error_code) { 362 base::TerminationStatus status,
363 int error_code) {
363 // Our renderer died. This should not happen in normal cases. 364 // Our renderer died. This should not happen in normal cases.
364 // If we haven't already started shutdown, just dismiss the interstitial. 365 // If we haven't already started shutdown, just dismiss the interstitial.
365 // We cannot check for enabled() here, because we may have called Disable 366 // We cannot check for enabled() here, because we may have called Disable
366 // without calling Hide. 367 // without calling Hide.
367 if (render_view_host_) 368 if (render_view_host_)
368 DontProceed(); 369 DontProceed();
369 } 370 }
370 371
371 void InterstitialPageImpl::DidNavigate( 372 void InterstitialPageImpl::DidNavigate(
372 RenderViewHost* render_view_host, 373 RenderViewHost* render_view_host,
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 789
789 web_contents->GetDelegateView()->TakeFocus(reverse); 790 web_contents->GetDelegateView()->TakeFocus(reverse);
790 } 791 }
791 792
792 void InterstitialPageImpl::InterstitialPageRVHDelegateView::OnFindReply( 793 void InterstitialPageImpl::InterstitialPageRVHDelegateView::OnFindReply(
793 int request_id, int number_of_matches, const gfx::Rect& selection_rect, 794 int request_id, int number_of_matches, const gfx::Rect& selection_rect,
794 int active_match_ordinal, bool final_update) { 795 int active_match_ordinal, bool final_update) {
795 } 796 }
796 797
797 } // namespace content 798 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/web_contents/interstitial_page_impl.h ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698