| 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/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 void RenderFrameHostImpl::AccessibilitySetScrollOffset( | 588 void RenderFrameHostImpl::AccessibilitySetScrollOffset( |
| 589 int acc_obj_id, const gfx::Point& offset) { | 589 int acc_obj_id, const gfx::Point& offset) { |
| 590 Send(new AccessibilityMsg_SetScrollOffset( | 590 Send(new AccessibilityMsg_SetScrollOffset( |
| 591 routing_id_, acc_obj_id, offset)); | 591 routing_id_, acc_obj_id, offset)); |
| 592 } | 592 } |
| 593 | 593 |
| 594 void RenderFrameHostImpl::AccessibilitySetSelection(int anchor_object_id, | 594 void RenderFrameHostImpl::AccessibilitySetSelection(int anchor_object_id, |
| 595 int anchor_offset, | 595 int anchor_offset, |
| 596 int focus_object_id, | 596 int focus_object_id, |
| 597 int focus_offset) { | 597 int focus_offset) { |
| 598 LOG(ERROR) << "set sel!" << anchor_offset << " " << focus_offset; |
| 598 Send(new AccessibilityMsg_SetSelection(routing_id_, | 599 Send(new AccessibilityMsg_SetSelection(routing_id_, |
| 599 anchor_object_id, | 600 anchor_object_id, |
| 600 anchor_offset, | 601 anchor_offset, |
| 601 focus_object_id, | 602 focus_object_id, |
| 602 focus_offset)); | 603 focus_offset)); |
| 603 } | 604 } |
| 604 | 605 |
| 605 void RenderFrameHostImpl::AccessibilitySetValue( | 606 void RenderFrameHostImpl::AccessibilitySetValue( |
| 606 int object_id, const base::string16& value) { | 607 int object_id, const base::string16& value) { |
| 607 Send(new AccessibilityMsg_SetValue(routing_id_, object_id, value)); | 608 Send(new AccessibilityMsg_SetValue(routing_id_, object_id, value)); |
| (...skipping 2155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2763 // handler after it's destroyed so it can't run after the RFHI is destroyed. | 2764 // handler after it's destroyed so it can't run after the RFHI is destroyed. |
| 2764 web_bluetooth_service_->SetClientConnectionErrorHandler(base::Bind( | 2765 web_bluetooth_service_->SetClientConnectionErrorHandler(base::Bind( |
| 2765 &RenderFrameHostImpl::DeleteWebBluetoothService, base::Unretained(this))); | 2766 &RenderFrameHostImpl::DeleteWebBluetoothService, base::Unretained(this))); |
| 2766 } | 2767 } |
| 2767 | 2768 |
| 2768 void RenderFrameHostImpl::DeleteWebBluetoothService() { | 2769 void RenderFrameHostImpl::DeleteWebBluetoothService() { |
| 2769 web_bluetooth_service_.reset(); | 2770 web_bluetooth_service_.reset(); |
| 2770 } | 2771 } |
| 2771 | 2772 |
| 2772 } // namespace content | 2773 } // namespace content |
| OLD | NEW |