| 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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 void RenderFrameProxy::advanceFocus(blink::WebFocusType type, | 526 void RenderFrameProxy::advanceFocus(blink::WebFocusType type, |
| 527 blink::WebLocalFrame* source) { | 527 blink::WebLocalFrame* source) { |
| 528 int source_routing_id = RenderFrameImpl::FromWebFrame(source)->GetRoutingID(); | 528 int source_routing_id = RenderFrameImpl::FromWebFrame(source)->GetRoutingID(); |
| 529 Send(new FrameHostMsg_AdvanceFocus(routing_id_, type, source_routing_id)); | 529 Send(new FrameHostMsg_AdvanceFocus(routing_id_, type, source_routing_id)); |
| 530 } | 530 } |
| 531 | 531 |
| 532 void RenderFrameProxy::frameFocused() { | 532 void RenderFrameProxy::frameFocused() { |
| 533 Send(new FrameHostMsg_FrameFocused(routing_id_)); | 533 Send(new FrameHostMsg_FrameFocused(routing_id_)); |
| 534 } | 534 } |
| 535 | 535 |
| 536 int RenderFrameProxy::print(const blink::WebRect& rect, int page_num) { |
| 537 gfx::Rect r = rect; |
| 538 Send(new FrameHostMsg_PrintRemoteFrame(routing_id_, r, page_num)); |
| 539 return routing_id_; |
| 540 } |
| 541 |
| 536 } // namespace | 542 } // namespace |
| OLD | NEW |