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

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

Issue 1550233002: Move mixed content settings histograms into browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo fix Created 4 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_proxy.h" 5 #include "content/renderer/render_frame_proxy.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <map> 8 #include <map>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 void RenderFrameProxy::advanceFocus(blink::WebFocusType type, 468 void RenderFrameProxy::advanceFocus(blink::WebFocusType type,
469 blink::WebLocalFrame* source) { 469 blink::WebLocalFrame* source) {
470 int source_routing_id = RenderFrameImpl::FromWebFrame(source)->GetRoutingID(); 470 int source_routing_id = RenderFrameImpl::FromWebFrame(source)->GetRoutingID();
471 Send(new FrameHostMsg_AdvanceFocus(routing_id_, type, source_routing_id)); 471 Send(new FrameHostMsg_AdvanceFocus(routing_id_, type, source_routing_id));
472 } 472 }
473 473
474 void RenderFrameProxy::frameFocused() { 474 void RenderFrameProxy::frameFocused() {
475 Send(new FrameHostMsg_FrameFocused(routing_id_)); 475 Send(new FrameHostMsg_FrameFocused(routing_id_));
476 } 476 }
477 477
478 void RenderFrameProxy::triedDisplayingInsecureContent(
479 const blink::WebSecurityOrigin& origin,
480 const blink::WebURL& url) {
481 Send(new FrameHostMsg_TriedDisplayingInsecureContent(
482 routing_id_, GURL(origin.toString().utf8()), url));
483 }
484
485 void RenderFrameProxy::triedRunningInsecureContent(
486 const blink::WebSecurityOrigin& origin,
487 const blink::WebURL& url) {
488 Send(new FrameHostMsg_TriedRunningInsecureContent(
489 routing_id_, GURL(origin.toString().utf8()), url));
490 }
491
478 } // namespace 492 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698