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

Side by Side Diff: content/browser/renderer_host/render_view_host_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/renderer_host/render_view_host_impl.h" 5 #include "content/browser/renderer_host/render_view_host_impl.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 // need to know why it died. 1113 // need to know why it died.
1114 render_view_termination_status_ = 1114 render_view_termination_status_ =
1115 static_cast<base::TerminationStatus>(status); 1115 static_cast<base::TerminationStatus>(status);
1116 1116
1117 // Reset state. 1117 // Reset state.
1118 ClearPowerSaveBlockers(); 1118 ClearPowerSaveBlockers();
1119 1119
1120 // Our base class RenderWidgetHost needs to reset some stuff. 1120 // Our base class RenderWidgetHost needs to reset some stuff.
1121 RendererExited(render_view_termination_status_, exit_code); 1121 RendererExited(render_view_termination_status_, exit_code);
1122 1122
1123 delegate_->RenderViewGone(this, 1123 delegate_->RenderViewTerminated(this,
1124 static_cast<base::TerminationStatus>(status), 1124 static_cast<base::TerminationStatus>(status),
1125 exit_code); 1125 exit_code);
1126 } 1126 }
1127 1127
1128 void RenderViewHostImpl::OnDidStartProvisionalLoadForFrame( 1128 void RenderViewHostImpl::OnDidStartProvisionalLoadForFrame(
1129 int64 frame_id, 1129 int64 frame_id,
1130 int64 parent_frame_id, 1130 int64 parent_frame_id,
1131 bool is_main_frame, 1131 bool is_main_frame,
1132 const GURL& url) { 1132 const GURL& url) {
1133 delegate_->DidStartProvisionalLoadForFrame( 1133 delegate_->DidStartProvisionalLoadForFrame(
1134 this, frame_id, parent_frame_id, is_main_frame, url); 1134 this, frame_id, parent_frame_id, is_main_frame, url);
1135 } 1135 }
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
2062 is_waiting_for_beforeunload_ack_ = false; 2062 is_waiting_for_beforeunload_ack_ = false;
2063 is_waiting_for_unload_ack_ = false; 2063 is_waiting_for_unload_ack_ = false;
2064 has_timed_out_on_unload_ = false; 2064 has_timed_out_on_unload_ = false;
2065 } 2065 }
2066 2066
2067 void RenderViewHostImpl::ClearPowerSaveBlockers() { 2067 void RenderViewHostImpl::ClearPowerSaveBlockers() {
2068 STLDeleteValues(&power_save_blockers_); 2068 STLDeleteValues(&power_save_blockers_);
2069 } 2069 }
2070 2070
2071 } // namespace content 2071 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/web_contents/interstitial_page_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698