diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/editing/frame_selection.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/editing/frame_selection.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/editing/frame_selection.h b/chromium/third_party/blink/renderer/core/editing/frame_selection.h index 6dc0e1cf974..1da4b7aad96 100644 --- a/chromium/third_party/blink/renderer/core/editing/frame_selection.h +++ b/chromium/third_party/blink/renderer/core/editing/frame_selection.h @@ -201,6 +201,10 @@ class CORE_EXPORT FrameSelection final // Note: this updates styles and layout, use cautiously. bool ComputeAbsoluteBounds(IntRect& anchor, IntRect& focus) const; + // Computes the rect we should use when scrolling/zooming a selection into + // view. + IntRect ComputeRectToScroll(RevealExtentOption); + void DidChangeFocus(); SelectionInDOMTree GetSelectionInDOMTree() const; @@ -299,8 +303,6 @@ class CORE_EXPORT FrameSelection final GranularityStrategy* GetGranularityStrategy(); - IntRect ComputeRectToScroll(RevealExtentOption); - void MoveRangeSelectionInternal(const SelectionInDOMTree&, TextGranularity); // Implementation of |SynchronousMutationObserver| member functions. |