Index: pdf/pdf_engine.h |
diff --git a/pdf/pdf_engine.h b/pdf/pdf_engine.h |
index 31b575d1aebe965d3090ecdbd17b7ebb09b6d4e0..071f43c0b9cf277cee99a1a1e2cfefeea1390ac5 100644 |
--- a/pdf/pdf_engine.h |
+++ b/pdf/pdf_engine.h |
@@ -251,8 +251,8 @@ class PDFEngine { |
virtual std::string GetPageAsJSON(int index) = 0; |
// Get the number of characters on a given page. |
virtual int GetCharCount(int page_index) = 0; |
- // Get the width in pixels of a character on a given page. |
- virtual double GetCharWidth(int page_index, int char_index) = 0; |
+ // Get the bounds in page pixels of a character on a given page. |
+ virtual pp::FloatRect GetCharBounds(int page_index, int char_index) = 0; |
// Get a given unicode character on a given page. |
virtual uint32_t GetCharUnicode(int page_index, int char_index) = 0; |
// Given a start char index, find the longest continuous run of text that's |