| 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 3345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3356 const blink::WebVector<blink::WebString>& newly_matching_selectors, | 3356 const blink::WebVector<blink::WebString>& newly_matching_selectors, |
| 3357 const blink::WebVector<blink::WebString>& stopped_matching_selectors) { | 3357 const blink::WebVector<blink::WebString>& stopped_matching_selectors) { |
| 3358 for (auto& observer : observers_) | 3358 for (auto& observer : observers_) |
| 3359 observer.DidMatchCSS(newly_matching_selectors, stopped_matching_selectors); | 3359 observer.DidMatchCSS(newly_matching_selectors, stopped_matching_selectors); |
| 3360 } | 3360 } |
| 3361 | 3361 |
| 3362 void RenderFrameImpl::SetHasReceivedUserGesture() { | 3362 void RenderFrameImpl::SetHasReceivedUserGesture() { |
| 3363 Send(new FrameHostMsg_SetHasReceivedUserGesture(routing_id_)); | 3363 Send(new FrameHostMsg_SetHasReceivedUserGesture(routing_id_)); |
| 3364 } | 3364 } |
| 3365 | 3365 |
| 3366 void RenderFrameImpl::SetDevToolsFrameId( |
| 3367 const blink::WebString& devtools_frame_id) { |
| 3368 Send(new FrameHostMsg_SetDevToolsFrameId(routing_id_, |
| 3369 devtools_frame_id.Utf8())); |
| 3370 } |
| 3371 |
| 3366 bool RenderFrameImpl::ShouldReportDetailedMessageForSource( | 3372 bool RenderFrameImpl::ShouldReportDetailedMessageForSource( |
| 3367 const blink::WebString& source) { | 3373 const blink::WebString& source) { |
| 3368 return GetContentClient()->renderer()->ShouldReportDetailedMessageForSource( | 3374 return GetContentClient()->renderer()->ShouldReportDetailedMessageForSource( |
| 3369 source.Utf16()); | 3375 source.Utf16()); |
| 3370 } | 3376 } |
| 3371 | 3377 |
| 3372 void RenderFrameImpl::DidAddMessageToConsole( | 3378 void RenderFrameImpl::DidAddMessageToConsole( |
| 3373 const blink::WebConsoleMessage& message, | 3379 const blink::WebConsoleMessage& message, |
| 3374 const blink::WebString& source_name, | 3380 const blink::WebString& source_name, |
| 3375 unsigned source_line, | 3381 unsigned source_line, |
| (...skipping 3674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7050 policy(info.default_policy), | 7056 policy(info.default_policy), |
| 7051 replaces_current_history_item(info.replaces_current_history_item), | 7057 replaces_current_history_item(info.replaces_current_history_item), |
| 7052 history_navigation_in_new_child_frame( | 7058 history_navigation_in_new_child_frame( |
| 7053 info.is_history_navigation_in_new_child_frame), | 7059 info.is_history_navigation_in_new_child_frame), |
| 7054 client_redirect(info.is_client_redirect), | 7060 client_redirect(info.is_client_redirect), |
| 7055 cache_disabled(info.is_cache_disabled), | 7061 cache_disabled(info.is_cache_disabled), |
| 7056 form(info.form), | 7062 form(info.form), |
| 7057 source_location(info.source_location) {} | 7063 source_location(info.source_location) {} |
| 7058 | 7064 |
| 7059 } // namespace content | 7065 } // namespace content |
| OLD | NEW |