| OLD | NEW |
| 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/browser/frame_host/render_frame_host_impl.h" | 5 #include "content/browser/frame_host/render_frame_host_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 int acc_obj_id, const gfx::Point& offset) { | 603 int acc_obj_id, const gfx::Point& offset) { |
| 604 Send(new AccessibilityMsg_SetScrollOffset( | 604 Send(new AccessibilityMsg_SetScrollOffset( |
| 605 routing_id_, acc_obj_id, offset)); | 605 routing_id_, acc_obj_id, offset)); |
| 606 } | 606 } |
| 607 | 607 |
| 608 void RenderFrameHostImpl::AccessibilitySetSelection(int anchor_object_id, | 608 void RenderFrameHostImpl::AccessibilitySetSelection(int anchor_object_id, |
| 609 int anchor_offset, | 609 int anchor_offset, |
| 610 int focus_object_id, | 610 int focus_object_id, |
| 611 int focus_offset) { | 611 int focus_offset) { |
| 612 Send(new AccessibilityMsg_SetSelection(routing_id_, | 612 Send(new AccessibilityMsg_SetSelection(routing_id_, |
| 613 focus_object_id, | 613 anchor_object_id, |
| 614 anchor_offset, | 614 anchor_offset, |
| 615 focus_object_id, | 615 focus_object_id, |
| 616 focus_offset)); | 616 focus_offset)); |
| 617 } | 617 } |
| 618 | 618 |
| 619 void RenderFrameHostImpl::AccessibilitySetValue( | 619 void RenderFrameHostImpl::AccessibilitySetValue( |
| 620 int object_id, const base::string16& value) { | 620 int object_id, const base::string16& value) { |
| 621 Send(new AccessibilityMsg_SetValue(routing_id_, object_id, value)); | 621 Send(new AccessibilityMsg_SetValue(routing_id_, object_id, value)); |
| 622 } | 622 } |
| 623 | 623 |
| (...skipping 1935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2559 *dst = src; | 2559 *dst = src; |
| 2560 | 2560 |
| 2561 if (src.routing_id != -1) | 2561 if (src.routing_id != -1) |
| 2562 dst->tree_id = RoutingIDToAXTreeID(src.routing_id); | 2562 dst->tree_id = RoutingIDToAXTreeID(src.routing_id); |
| 2563 | 2563 |
| 2564 if (src.parent_routing_id != -1) | 2564 if (src.parent_routing_id != -1) |
| 2565 dst->parent_tree_id = RoutingIDToAXTreeID(src.parent_routing_id); | 2565 dst->parent_tree_id = RoutingIDToAXTreeID(src.parent_routing_id); |
| 2566 } | 2566 } |
| 2567 | 2567 |
| 2568 } // namespace content | 2568 } // namespace content |
| OLD | NEW |