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 3961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3972 Send(new FrameHostMsg_DidRunContentWithCertificateErrors( | 3972 Send(new FrameHostMsg_DidRunContentWithCertificateErrors( |
3973 routing_id_, GURL(main_resource_url).GetOrigin(), url, security_info)); | 3973 routing_id_, GURL(main_resource_url).GetOrigin(), url, security_info)); |
3974 } | 3974 } |
3975 | 3975 |
3976 void RenderFrameImpl::didChangePerformanceTiming() { | 3976 void RenderFrameImpl::didChangePerformanceTiming() { |
3977 FOR_EACH_OBSERVER(RenderFrameObserver, | 3977 FOR_EACH_OBSERVER(RenderFrameObserver, |
3978 observers_, | 3978 observers_, |
3979 DidChangePerformanceTiming()); | 3979 DidChangePerformanceTiming()); |
3980 } | 3980 } |
3981 | 3981 |
| 3982 void RenderFrameImpl::didObserveLoadingBehavior( |
| 3983 blink::WebLoadingBehaviorFlag behavior) { |
| 3984 FOR_EACH_OBSERVER(RenderFrameObserver, observers_, |
| 3985 DidObserveLoadingBehavior(behavior)); |
| 3986 } |
| 3987 |
3982 void RenderFrameImpl::didCreateScriptContext(blink::WebLocalFrame* frame, | 3988 void RenderFrameImpl::didCreateScriptContext(blink::WebLocalFrame* frame, |
3983 v8::Local<v8::Context> context, | 3989 v8::Local<v8::Context> context, |
3984 int extension_group, | 3990 int extension_group, |
3985 int world_id) { | 3991 int world_id) { |
3986 DCHECK_EQ(frame_, frame); | 3992 DCHECK_EQ(frame_, frame); |
3987 | 3993 |
3988 FOR_EACH_OBSERVER(RenderFrameObserver, observers_, | 3994 FOR_EACH_OBSERVER(RenderFrameObserver, observers_, |
3989 DidCreateScriptContext(context, extension_group, world_id)); | 3995 DidCreateScriptContext(context, extension_group, world_id)); |
3990 } | 3996 } |
3991 | 3997 |
(...skipping 2049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6041 int match_count, | 6047 int match_count, |
6042 int ordinal, | 6048 int ordinal, |
6043 const WebRect& selection_rect, | 6049 const WebRect& selection_rect, |
6044 bool final_status_update) { | 6050 bool final_status_update) { |
6045 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count, | 6051 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count, |
6046 selection_rect, ordinal, | 6052 selection_rect, ordinal, |
6047 final_status_update)); | 6053 final_status_update)); |
6048 } | 6054 } |
6049 | 6055 |
6050 } // namespace content | 6056 } // namespace content |
OLD | NEW |