| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 bool hidden) | 177 bool hidden) |
| 178 : RenderWidgetHostImpl(widget_delegate, | 178 : RenderWidgetHostImpl(widget_delegate, |
| 179 instance->GetProcess(), | 179 instance->GetProcess(), |
| 180 routing_id, | 180 routing_id, |
| 181 hidden), | 181 hidden), |
| 182 frames_ref_count_(0), | 182 frames_ref_count_(0), |
| 183 delegate_(delegate), | 183 delegate_(delegate), |
| 184 instance_(static_cast<SiteInstanceImpl*>(instance)), | 184 instance_(static_cast<SiteInstanceImpl*>(instance)), |
| 185 waiting_for_drag_context_response_(false), | 185 waiting_for_drag_context_response_(false), |
| 186 enabled_bindings_(0), | 186 enabled_bindings_(0), |
| 187 page_id_(-1), |
| 187 main_frame_routing_id_(main_frame_routing_id), | 188 main_frame_routing_id_(main_frame_routing_id), |
| 188 run_modal_reply_msg_(NULL), | 189 run_modal_reply_msg_(NULL), |
| 189 run_modal_opener_id_(MSG_ROUTING_NONE), | 190 run_modal_opener_id_(MSG_ROUTING_NONE), |
| 190 is_waiting_for_beforeunload_ack_(false), | 191 is_waiting_for_beforeunload_ack_(false), |
| 191 unload_ack_is_for_cross_site_transition_(false), | 192 unload_ack_is_for_cross_site_transition_(false), |
| 192 sudden_termination_allowed_(false), | 193 sudden_termination_allowed_(false), |
| 193 render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING), | 194 render_view_termination_status_(base::TERMINATION_STATUS_STILL_RUNNING), |
| 194 virtual_keyboard_requested_(false), | 195 virtual_keyboard_requested_(false), |
| 195 weak_factory_(this), | 196 weak_factory_(this), |
| 196 is_focused_element_editable_(false), | 197 is_focused_element_editable_(false), |
| (...skipping 1314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1511 FrameTree* frame_tree = delegate_->GetFrameTree(); | 1512 FrameTree* frame_tree = delegate_->GetFrameTree(); |
| 1512 | 1513 |
| 1513 frame_tree->ResetForMainFrameSwap(); | 1514 frame_tree->ResetForMainFrameSwap(); |
| 1514 } | 1515 } |
| 1515 | 1516 |
| 1516 void RenderViewHostImpl::SelectWordAroundCaret() { | 1517 void RenderViewHostImpl::SelectWordAroundCaret() { |
| 1517 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID())); | 1518 Send(new ViewMsg_SelectWordAroundCaret(GetRoutingID())); |
| 1518 } | 1519 } |
| 1519 | 1520 |
| 1520 } // namespace content | 1521 } // namespace content |
| OLD | NEW |