| 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 3289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3300 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 3300 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
| 3301 const blink::WebVector<blink::WebString>& stopped_matching_selectors) { | 3301 const blink::WebVector<blink::WebString>& stopped_matching_selectors) { |
| 3302 for (auto& observer : observers_) | 3302 for (auto& observer : observers_) |
| 3303 observer.DidMatchCSS(newly_matching_selectors, stopped_matching_selectors); | 3303 observer.DidMatchCSS(newly_matching_selectors, stopped_matching_selectors); |
| 3304 } | 3304 } |
| 3305 | 3305 |
| 3306 void RenderFrameImpl::SetHasReceivedUserGesture() { | 3306 void RenderFrameImpl::SetHasReceivedUserGesture() { |
| 3307 Send(new FrameHostMsg_SetHasReceivedUserGesture(routing_id_)); | 3307 Send(new FrameHostMsg_SetHasReceivedUserGesture(routing_id_)); |
| 3308 } | 3308 } |
| 3309 | 3309 |
| 3310 void RenderFrameImpl::SetDevToolsFrameId( |
| 3311 const blink::WebString& devtools_frame_id) { |
| 3312 Send(new FrameHostMsg_SetDevToolsFrameId(routing_id_, |
| 3313 devtools_frame_id.Utf8())); |
| 3314 } |
| 3315 |
| 3310 bool RenderFrameImpl::ShouldReportDetailedMessageForSource( | 3316 bool RenderFrameImpl::ShouldReportDetailedMessageForSource( |
| 3311 const blink::WebString& source) { | 3317 const blink::WebString& source) { |
| 3312 return GetContentClient()->renderer()->ShouldReportDetailedMessageForSource( | 3318 return GetContentClient()->renderer()->ShouldReportDetailedMessageForSource( |
| 3313 source.Utf16()); | 3319 source.Utf16()); |
| 3314 } | 3320 } |
| 3315 | 3321 |
| 3316 void RenderFrameImpl::DidAddMessageToConsole( | 3322 void RenderFrameImpl::DidAddMessageToConsole( |
| 3317 const blink::WebConsoleMessage& message, | 3323 const blink::WebConsoleMessage& message, |
| 3318 const blink::WebString& source_name, | 3324 const blink::WebString& source_name, |
| 3319 unsigned source_line, | 3325 unsigned source_line, |
| (...skipping 3662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6982 policy(info.default_policy), | 6988 policy(info.default_policy), |
| 6983 replaces_current_history_item(info.replaces_current_history_item), | 6989 replaces_current_history_item(info.replaces_current_history_item), |
| 6984 history_navigation_in_new_child_frame( | 6990 history_navigation_in_new_child_frame( |
| 6985 info.is_history_navigation_in_new_child_frame), | 6991 info.is_history_navigation_in_new_child_frame), |
| 6986 client_redirect(info.is_client_redirect), | 6992 client_redirect(info.is_client_redirect), |
| 6987 cache_disabled(info.is_cache_disabled), | 6993 cache_disabled(info.is_cache_disabled), |
| 6988 form(info.form), | 6994 form(info.form), |
| 6989 source_location(info.source_location) {} | 6995 source_location(info.source_location) {} |
| 6990 | 6996 |
| 6991 } // namespace content | 6997 } // namespace content |
| OLD | NEW |