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..3fd472d039a04b9d5cb057560f1cfdaeeca22346 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 HitTestResult. Returns true |
+ // if a word was selected. |
+ bool selectWordAtPositionIfAny(const HitTestResult&); |
+ |
private: |
explicit SelectionController(LocalFrame&); |