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

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: rebase 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 3956 matching lines...) Expand 10 before | Expand all | Expand 10 after
3967 Send(new FrameHostMsg_DidRunContentWithCertificateErrors( 3967 Send(new FrameHostMsg_DidRunContentWithCertificateErrors(
3968 routing_id_, GURL(main_resource_url).GetOrigin(), url, security_info)); 3968 routing_id_, GURL(main_resource_url).GetOrigin(), url, security_info));
3969 } 3969 }
3970 3970
3971 void RenderFrameImpl::didChangePerformanceTiming() { 3971 void RenderFrameImpl::didChangePerformanceTiming() {
3972 FOR_EACH_OBSERVER(RenderFrameObserver, 3972 FOR_EACH_OBSERVER(RenderFrameObserver,
3973 observers_, 3973 observers_,
3974 DidChangePerformanceTiming()); 3974 DidChangePerformanceTiming());
3975 } 3975 }
3976 3976
3977 void RenderFrameImpl::didUseExperiment(blink::WebExperimentData data) {
3978 FOR_EACH_OBSERVER(RenderFrameObserver,
3979 observers_,
3980 DidUseExperiment(data));
3981 }
3982
3977 void RenderFrameImpl::didCreateScriptContext(blink::WebLocalFrame* frame, 3983 void RenderFrameImpl::didCreateScriptContext(blink::WebLocalFrame* frame,
3978 v8::Local<v8::Context> context, 3984 v8::Local<v8::Context> context,
3979 int extension_group, 3985 int extension_group,
3980 int world_id) { 3986 int world_id) {
3981 DCHECK_EQ(frame_, frame); 3987 DCHECK_EQ(frame_, frame);
3982 3988
3983 FOR_EACH_OBSERVER(RenderFrameObserver, observers_, 3989 FOR_EACH_OBSERVER(RenderFrameObserver, observers_,
3984 DidCreateScriptContext(context, extension_group, world_id)); 3990 DidCreateScriptContext(context, extension_group, world_id));
3985 } 3991 }
3986 3992
(...skipping 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after
6032 int match_count, 6038 int match_count,
6033 int ordinal, 6039 int ordinal,
6034 const WebRect& selection_rect, 6040 const WebRect& selection_rect,
6035 bool final_status_update) { 6041 bool final_status_update) {
6036 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count, 6042 Send(new FrameHostMsg_Find_Reply(routing_id_, request_id, match_count,
6037 selection_rect, ordinal, 6043 selection_rect, ordinal,
6038 final_status_update)); 6044 final_status_update));
6039 } 6045 }
6040 6046
6041 } // namespace content 6047 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698