| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/renderer/render_frame_impl.h" | 5 #include "content/renderer/render_frame_impl.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 | 979 |
| 980 return nullptr; | 980 return nullptr; |
| 981 } | 981 } |
| 982 | 982 |
| 983 // RenderFrameImpl ---------------------------------------------------------- | 983 // RenderFrameImpl ---------------------------------------------------------- |
| 984 RenderFrameImpl::RenderFrameImpl(const CreateParams& params) | 984 RenderFrameImpl::RenderFrameImpl(const CreateParams& params) |
| 985 : frame_(NULL), | 985 : frame_(NULL), |
| 986 is_main_frame_(true), | 986 is_main_frame_(true), |
| 987 in_browser_initiated_detach_(false), | 987 in_browser_initiated_detach_(false), |
| 988 in_frame_tree_(false), | 988 in_frame_tree_(false), |
| 989 render_view_(params.render_view->AsWeakPtr()), | 989 render_view_(params.render_view |
| 990 ->base::SupportsWeakPtr<RenderViewImpl>::AsWeakPtr()), |
| 990 routing_id_(params.routing_id), | 991 routing_id_(params.routing_id), |
| 991 render_frame_proxy_(NULL), | 992 render_frame_proxy_(NULL), |
| 992 is_detaching_(false), | 993 is_detaching_(false), |
| 993 proxy_routing_id_(MSG_ROUTING_NONE), | 994 proxy_routing_id_(MSG_ROUTING_NONE), |
| 994 #if defined(ENABLE_PLUGINS) | 995 #if defined(ENABLE_PLUGINS) |
| 995 plugin_power_saver_helper_(nullptr), | 996 plugin_power_saver_helper_(nullptr), |
| 996 plugin_find_handler_(nullptr), | 997 plugin_find_handler_(nullptr), |
| 997 #endif | 998 #endif |
| 998 cookie_jar_(this), | 999 cookie_jar_(this), |
| 999 selection_text_offset_(0), | 1000 selection_text_offset_(0), |
| (...skipping 5020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6020 int match_count, | 6021 int match_count, |
| 6021 int ordinal, | 6022 int ordinal, |
| 6022 const WebRect& selection_rect, | 6023 const WebRect& selection_rect, |
| 6023 bool final_status_update) { | 6024 bool final_status_update) { |
| 6024 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count, | 6025 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count, |
| 6025 selection_rect, ordinal, | 6026 selection_rect, ordinal, |
| 6026 final_status_update)); | 6027 final_status_update)); |
| 6027 } | 6028 } |
| 6028 | 6029 |
| 6029 } // namespace content | 6030 } // namespace content |
| OLD | NEW |