OLD | NEW |
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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 SiteInstance* instance, | 212 SiteInstance* instance, |
213 std::unique_ptr<RenderWidgetHostImpl> widget, | 213 std::unique_ptr<RenderWidgetHostImpl> widget, |
214 RenderViewHostDelegate* delegate, | 214 RenderViewHostDelegate* delegate, |
215 int32_t main_frame_routing_id, | 215 int32_t main_frame_routing_id, |
216 bool swapped_out, | 216 bool swapped_out, |
217 bool has_initialized_audio_host) | 217 bool has_initialized_audio_host) |
218 : render_widget_host_(std::move(widget)), | 218 : render_widget_host_(std::move(widget)), |
219 frames_ref_count_(0), | 219 frames_ref_count_(0), |
220 delegate_(delegate), | 220 delegate_(delegate), |
221 instance_(static_cast<SiteInstanceImpl*>(instance)), | 221 instance_(static_cast<SiteInstanceImpl*>(instance)), |
222 waiting_for_drag_context_response_(false), | |
223 enabled_bindings_(0), | 222 enabled_bindings_(0), |
224 page_id_(-1), | 223 page_id_(-1), |
225 is_active_(!swapped_out), | 224 is_active_(!swapped_out), |
226 is_swapped_out_(swapped_out), | 225 is_swapped_out_(swapped_out), |
227 main_frame_routing_id_(main_frame_routing_id), | 226 main_frame_routing_id_(main_frame_routing_id), |
228 is_waiting_for_close_ack_(false), | 227 is_waiting_for_close_ack_(false), |
229 sudden_termination_allowed_(false), | 228 sudden_termination_allowed_(false), |
230 render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING), | 229 render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING), |
231 virtual_keyboard_requested_(false), | 230 virtual_keyboard_requested_(false), |
232 is_focused_element_editable_(false), | 231 is_focused_element_editable_(false), |
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1349 } else { | 1348 } else { |
1350 render_view_ready_on_process_launch_ = true; | 1349 render_view_ready_on_process_launch_ = true; |
1351 } | 1350 } |
1352 } | 1351 } |
1353 | 1352 |
1354 void RenderViewHostImpl::RenderViewReady() { | 1353 void RenderViewHostImpl::RenderViewReady() { |
1355 delegate_->RenderViewReady(this); | 1354 delegate_->RenderViewReady(this); |
1356 } | 1355 } |
1357 | 1356 |
1358 } // namespace content | 1357 } // namespace content |
OLD | NEW |