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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 1345353003: Fix detection of RenderViewHosts pending deletion in CreateRenderViewHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 5 years, 3 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 (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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 surface_id, 211 surface_id,
212 hidden), 212 hidden),
213 frames_ref_count_(0), 213 frames_ref_count_(0),
214 delegate_(delegate), 214 delegate_(delegate),
215 instance_(static_cast<SiteInstanceImpl*>(instance)), 215 instance_(static_cast<SiteInstanceImpl*>(instance)),
216 waiting_for_drag_context_response_(false), 216 waiting_for_drag_context_response_(false),
217 enabled_bindings_(0), 217 enabled_bindings_(0),
218 page_id_(-1), 218 page_id_(-1),
219 nav_entry_id_(0), 219 nav_entry_id_(0),
220 is_active_(!swapped_out), 220 is_active_(!swapped_out),
221 is_pending_deletion_(false),
221 is_swapped_out_(swapped_out), 222 is_swapped_out_(swapped_out),
222 main_frame_routing_id_(main_frame_routing_id), 223 main_frame_routing_id_(main_frame_routing_id),
223 is_waiting_for_close_ack_(false), 224 is_waiting_for_close_ack_(false),
224 sudden_termination_allowed_(false), 225 sudden_termination_allowed_(false),
225 render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING), 226 render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING),
226 virtual_keyboard_requested_(false), 227 virtual_keyboard_requested_(false),
227 is_focused_element_editable_(false), 228 is_focused_element_editable_(false),
228 updating_web_preferences_(false), 229 updating_web_preferences_(false),
229 weak_factory_(this) { 230 weak_factory_(this) {
230 DCHECK(instance_.get()); 231 DCHECK(instance_.get());
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1430 if (!policy->CanReadFile(GetProcess()->GetID(), file)) 1431 if (!policy->CanReadFile(GetProcess()->GetID(), file))
1431 policy->GrantReadFile(GetProcess()->GetID(), file); 1432 policy->GrantReadFile(GetProcess()->GetID(), file);
1432 } 1433 }
1433 } 1434 }
1434 1435
1435 void RenderViewHostImpl::SelectWordAroundCaret() { 1436 void RenderViewHostImpl::SelectWordAroundCaret() {
1436 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID())); 1437 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID()));
1437 } 1438 }
1438 1439
1439 } // namespace content 1440 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698