Index: third_party/WebKit/Source/core/editing/SelectionController.h |
diff --git a/third_party/WebKit/Source/core/editing/SelectionController.h b/third_party/WebKit/Source/core/editing/SelectionController.h |
index 8d02d2f4233c2bb8819a4229d6ccbafea444ac3a..8fc8646e61ba39f22aa53d0d83c111ae604082c9 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionController.h |
+++ b/third_party/WebKit/Source/core/editing/SelectionController.h |
@@ -66,6 +66,10 @@ public: |
bool mouseDownWasSingleClickInSelection() const; |
void notifySelectionChanged(); |
+ // Selects a word if there's one in the given position. Returns true if a |
+ // word was selected. |
+ bool selectWordAtPositionIfAny(const IntPoint&); |
+ |
private: |
explicit SelectionController(LocalFrame&); |