Index: public/web/mac/WebSubstringUtil.h |
diff --git a/public/web/mac/WebSubstringUtil.h b/public/web/mac/WebSubstringUtil.h |
index 72fc464c9e14f31e5a4c8c09a7c116c68b99955b..29c9cdd24f2f73d09f49848938116d63811b772a 100644 |
--- a/public/web/mac/WebSubstringUtil.h |
+++ b/public/web/mac/WebSubstringUtil.h |
@@ -60,6 +60,15 @@ public: |
BLINK_EXPORT static NSAttributedString* attributedSubstringInRange(WebLocalFrame*, |
size_t location, |
size_t length); |
+ |
+ // Returns an autoreleased NSAttributedString that is a substring of the |
+ // Frame at the given range, or nil on error. |
+ // It also gets the baseline point for the given range for showing |
+ // dictionary lookup bubble. |
+ BLINK_EXPORT static NSAttributedString* attributedSubstringInRange(WebLocalFrame*, |
+ size_t location, |
+ size_t length, |
+ WebPoint* baselinePoint); |
}; |
} // namespace blink |