Index: third_party/WebKit/Source/web/WebViewImpl.h |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h |
index af2b14985a8f9cb3a489a53b8682e734f72b6692..7fd4ac8c3a3c6cd62aee9df3d66c665b0515be99 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.h |
+++ b/third_party/WebKit/Source/web/WebViewImpl.h |
@@ -623,6 +623,9 @@ private: |
void attachCompositorAnimationTimeline(CompositorAnimationTimeline*); |
void detachCompositorAnimationTimeline(CompositorAnimationTimeline*); |
+ // When selection exceeds the boundary, it should stay at the boundary. |
+ std::pair<int, int> adjustSelectionForBoundary(int selectionStart, int selectionEnd, const int textLength); |
+ |
WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) |
WebSpellCheckClient* m_spellCheckClient; |