Index: third_party/WebKit/Source/core/editing/EphemeralRange.h |
diff --git a/third_party/WebKit/Source/core/editing/EphemeralRange.h b/third_party/WebKit/Source/core/editing/EphemeralRange.h |
index e70ce8ab0ec70bc9a7d3a74cc26c92e8be750535..753d052bd25c3ddf3dbee01a89c7dabef7607522 100644 |
--- a/third_party/WebKit/Source/core/editing/EphemeralRange.h |
+++ b/third_party/WebKit/Source/core/editing/EphemeralRange.h |
@@ -65,6 +65,10 @@ public: |
} |
bool isNotNull() const { return !isNull(); } |
+ // Returns united bounding box of all LayoutText objects within the range, |
+ // as same as Range::boundingBox(). |
+ IntRect textBoundingBox() const; |
+ |
DEFINE_INLINE_TRACE() |
{ |
visitor->trace(m_startPosition); |