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

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

Issue 2315443003: Stop sending serialized SSLStatus to the renderer. (Closed)
Patch Set: self review fix and merge fix Created 4 years, 3 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 4180 matching lines...) Expand 10 before | Expand all | Expand 10 after
4191 const blink::WebSecurityOrigin& origin, 4191 const blink::WebSecurityOrigin& origin,
4192 const blink::WebURL& target) { 4192 const blink::WebURL& target) {
4193 Send(new FrameHostMsg_DidRunInsecureContent( 4193 Send(new FrameHostMsg_DidRunInsecureContent(
4194 routing_id_, GURL(origin.toString().utf8()), target)); 4194 routing_id_, GURL(origin.toString().utf8()), target));
4195 GetContentClient()->renderer()->RecordRapporURL( 4195 GetContentClient()->renderer()->RecordRapporURL(
4196 "ContentSettings.MixedScript.RanMixedScript", 4196 "ContentSettings.MixedScript.RanMixedScript",
4197 GURL(origin.toString().utf8())); 4197 GURL(origin.toString().utf8()));
4198 } 4198 }
4199 4199
4200 void RenderFrameImpl::didDisplayContentWithCertificateErrors( 4200 void RenderFrameImpl::didDisplayContentWithCertificateErrors(
4201 const blink::WebURL& url, 4201 const blink::WebURL& url) {
4202 const blink::WebCString& security_info) {
4203 Send(new FrameHostMsg_DidDisplayContentWithCertificateErrors( 4202 Send(new FrameHostMsg_DidDisplayContentWithCertificateErrors(
4204 routing_id_, url)); 4203 routing_id_, url));
4205 } 4204 }
4206 4205
4207 void RenderFrameImpl::didRunContentWithCertificateErrors( 4206 void RenderFrameImpl::didRunContentWithCertificateErrors(
4208 const blink::WebURL& url, 4207 const blink::WebURL& url) {
4209 const blink::WebCString& security_info) {
4210 Send(new FrameHostMsg_DidRunContentWithCertificateErrors(routing_id_, url)); 4208 Send(new FrameHostMsg_DidRunContentWithCertificateErrors(routing_id_, url));
4211 } 4209 }
4212 4210
4213 void RenderFrameImpl::didChangePerformanceTiming() { 4211 void RenderFrameImpl::didChangePerformanceTiming() {
4214 FOR_EACH_OBSERVER(RenderFrameObserver, 4212 FOR_EACH_OBSERVER(RenderFrameObserver,
4215 observers_, 4213 observers_,
4216 DidChangePerformanceTiming()); 4214 DidChangePerformanceTiming());
4217 } 4215 }
4218 4216
4219 void RenderFrameImpl::didObserveLoadingBehavior( 4217 void RenderFrameImpl::didObserveLoadingBehavior(
(...skipping 2131 matching lines...) Expand 10 before | Expand all | Expand 10 after
6351 // event target. Potentially a Pepper plugin will receive the event. 6349 // event target. Potentially a Pepper plugin will receive the event.
6352 // In order to tell whether a plugin gets the last mouse event and which it 6350 // In order to tell whether a plugin gets the last mouse event and which it
6353 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets 6351 // is, we set |pepper_last_mouse_event_target_| to null here. If a plugin gets
6354 // the event, it will notify us via DidReceiveMouseEvent() and set itself as 6352 // the event, it will notify us via DidReceiveMouseEvent() and set itself as
6355 // |pepper_last_mouse_event_target_|. 6353 // |pepper_last_mouse_event_target_|.
6356 pepper_last_mouse_event_target_ = nullptr; 6354 pepper_last_mouse_event_target_ = nullptr;
6357 #endif 6355 #endif
6358 } 6356 }
6359 6357
6360 } // namespace content 6358 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.h ('k') | third_party/WebKit/Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698