accessibility_helper.h 597 B

12345678910111213141516171819202122
  1. // Copyright 2020 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef PDF_ACCESSIBILITY_HELPER_H_
  5. #define PDF_ACCESSIBILITY_HELPER_H_
  6. #include <vector>
  7. namespace chrome_pdf {
  8. struct AccessibilityTextRunInfo;
  9. struct AccessibilityTextRunRangeInfo;
  10. AccessibilityTextRunRangeInfo GetEnclosingTextRunRangeForCharRange(
  11. const std::vector<AccessibilityTextRunInfo>& text_runs,
  12. int start_char_index,
  13. int char_count);
  14. } // namespace chrome_pdf
  15. #endif // PDF_ACCESSIBILITY_HELPER_H_