Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(868)

Side by Side Diff: content/renderer/render_frame_impl.cc

Issue 1846143003: Propogate loading behavior data from Blink to content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change null enum name Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 3951 matching lines...) Expand 10 before | Expand all | Expand 10 after
3962 Send(new FrameHostMsg_DidRunContentWithCertificateErrors( 3962 Send(new FrameHostMsg_DidRunContentWithCertificateErrors(
3963 routing_id_, GURL(main_resource_url).GetOrigin(), url, security_info)); 3963 routing_id_, GURL(main_resource_url).GetOrigin(), url, security_info));
3964 } 3964 }
3965 3965
3966 void RenderFrameImpl::didChangePerformanceTiming() { 3966 void RenderFrameImpl::didChangePerformanceTiming() {
3967 FOR_EACH_OBSERVER(RenderFrameObserver, 3967 FOR_EACH_OBSERVER(RenderFrameObserver,
3968 observers_, 3968 observers_,
3969 DidChangePerformanceTiming()); 3969 DidChangePerformanceTiming());
3970 } 3970 }
3971 3971
3972 void RenderFrameImpl::didObserveLoadingBehavior(blink::WebLoadingData data) {
3973 FOR_EACH_OBSERVER(RenderFrameObserver,
3974 observers_,
3975 DidObserveLoadingBehavior(data));
3976 }
3977
3972 void RenderFrameImpl::didCreateScriptContext(blink::WebLocalFrame* frame, 3978 void RenderFrameImpl::didCreateScriptContext(blink::WebLocalFrame* frame,
3973 v8::Local<v8::Context> context, 3979 v8::Local<v8::Context> context,
3974 int extension_group, 3980 int extension_group,
3975 int world_id) { 3981 int world_id) {
3976 DCHECK_EQ(frame_, frame); 3982 DCHECK_EQ(frame_, frame);
3977 3983
3978 FOR_EACH_OBSERVER(RenderFrameObserver, observers_, 3984 FOR_EACH_OBSERVER(RenderFrameObserver, observers_,
3979 DidCreateScriptContext(context, extension_group, world_id)); 3985 DidCreateScriptContext(context, extension_group, world_id));
3980 } 3986 }
3981 3987
(...skipping 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after
6027 int match_count, 6033 int match_count,
6028 int ordinal, 6034 int ordinal,
6029 const WebRect& selection_rect, 6035 const WebRect& selection_rect,
6030 bool final_status_update) { 6036 bool final_status_update) {
6031 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count, 6037 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count,
6032 selection_rect, ordinal, 6038 selection_rect, ordinal,
6033 final_status_update)); 6039 final_status_update));
6034 } 6040 }
6035 6041
6036 } // namespace content 6042 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698