#include "pdf/pdfium/pdfium_range.h"
#include <string>
#include "base/check_op.h"
#include "base/strings/string_util.h"
#include "pdf/pdfium/pdfium_api_string_buffer_adapter.h"
#include "third_party/pdfium/public/fpdf_searchex.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/rect_f.h"
namespace chrome_pdf {
namespace {
void AdjustForBackwardsRange(int& index, int& count) { … }
}
bool IsIgnorableCharacter(char16_t c) { … }
PDFiumRange::PDFiumRange(PDFiumPage* page, int char_index, int char_count)
: … { … }
PDFiumRange::PDFiumRange(const PDFiumRange& that) = default;
PDFiumRange::~PDFiumRange() = default;
void PDFiumRange::SetCharCount(int char_count) { … }
const std::vector<gfx::Rect>& PDFiumRange::GetScreenRects(
const gfx::Point& point,
double zoom,
PageOrientation orientation) const { … }
std::u16string PDFiumRange::GetText() const { … }
}