| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |