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 eb259ec8053f3831e6c177e8ffe9ce44b98fdfc7..849b5e04dacd79c20b3e6948868c1e29801706da 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionController.h |
+++ b/third_party/WebKit/Source/core/editing/SelectionController.h |
@@ -70,8 +70,9 @@ private: |
explicit SelectionController(LocalFrame&); |
enum class AppendTrailingWhitespace { ShouldAppend, DontAppend }; |
+ enum class SelectInputEventType { GestureLongPress, Mouse }; |
- void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailingWhitespace); |
+ void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailingWhitespace, SelectInputEventType); |
void selectClosestMisspellingFromHitTestResult(const HitTestResult&, AppendTrailingWhitespace); |
void selectClosestWordFromMouseEvent(const MouseEventWithHitTestResults&); |
void selectClosestMisspellingFromMouseEvent(const MouseEventWithHitTestResults&); |