Ankit Kumar 🌪️ | ab90ffc | 2021-02-12 10:41:33 | [diff] [blame] | 1 | // Copyright 2020 The Chromium Authors. All rights reserved. |
Ankit Kumar 🌪️ | 9c1ef786 | 2021-02-12 08:53:13 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef PDF_ACCESSIBILITY_HELPER_H_ |
| 6 | #define PDF_ACCESSIBILITY_HELPER_H_ |
| 7 | |
| 8 | #include <vector> |
| 9 | |
| 10 | namespace chrome_pdf { |
| 11 | |
| 12 | struct AccessibilityTextRunInfo; |
| 13 | struct AccessibilityTextRunRangeInfo; |
| 14 | |
Ankit Kumar 🌪️ | 9c1ef786 | 2021-02-12 08:53:13 | [diff] [blame] | 15 | AccessibilityTextRunRangeInfo GetEnclosingTextRunRangeForCharRange( |
| 16 | const std::vector<AccessibilityTextRunInfo>& text_runs, |
| 17 | int start_char_index, |
| 18 | int char_count); |
| 19 | |
| 20 | } // namespace chrome_pdf |
| 21 | |
| 22 | #endif // PDF_ACCESSIBILITY_HELPER_H_ |