| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <atlbase.h> | 5 #include <atlbase.h> |
| 6 #include <atlcom.h> | 6 #include <atlcom.h> |
| 7 #include <limits.h> | 7 #include <limits.h> |
| 8 #include <oleacc.h> | 8 #include <oleacc.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 1128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1139 | 1139 |
| 1140 LONG AXPlatformNodeWin::FindBoundary( | 1140 LONG AXPlatformNodeWin::FindBoundary( |
| 1141 const base::string16& text, | 1141 const base::string16& text, |
| 1142 IA2TextBoundaryType ia2_boundary, | 1142 IA2TextBoundaryType ia2_boundary, |
| 1143 LONG start_offset, | 1143 LONG start_offset, |
| 1144 ui::TextBoundaryDirection direction) { | 1144 ui::TextBoundaryDirection direction) { |
| 1145 HandleSpecialTextOffset(text, &start_offset); | 1145 HandleSpecialTextOffset(text, &start_offset); |
| 1146 ui::TextBoundaryType boundary = IA2TextBoundaryToTextBoundary(ia2_boundary); | 1146 ui::TextBoundaryType boundary = IA2TextBoundaryToTextBoundary(ia2_boundary); |
| 1147 std::vector<int32_t> line_breaks; | 1147 std::vector<int32_t> line_breaks; |
| 1148 return static_cast<LONG>(ui::FindAccessibleTextBoundary( | 1148 return static_cast<LONG>(ui::FindAccessibleTextBoundary( |
| 1149 text, line_breaks, boundary, start_offset, direction)); | 1149 text, line_breaks, boundary, start_offset, direction, |
| 1150 AX_TEXT_AFFINITY_DOWNSTREAM)); |
| 1150 } | 1151 } |
| 1151 | 1152 |
| 1152 } // namespace ui | 1153 } // namespace ui |
| OLD | NEW |