blob: 7259f843af84f621b65cdd913024d9f08f0dfebe [file] [log] [blame]
Ankit Kumar 🌪️ab90ffc2021-02-12 10:41:331// Copyright 2020 The Chromium Authors. All rights reserved.
Ankit Kumar 🌪️9c1ef7862021-02-12 08:53:132// 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
10namespace chrome_pdf {
11
12struct AccessibilityTextRunInfo;
13struct AccessibilityTextRunRangeInfo;
14
Ankit Kumar 🌪️9c1ef7862021-02-12 08:53:1315AccessibilityTextRunRangeInfo 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_