Index: third_party/WebKit/Source/core/editing/SelectionController.cpp |
diff --git a/third_party/WebKit/Source/core/editing/SelectionController.cpp b/third_party/WebKit/Source/core/editing/SelectionController.cpp |
index b798e6497b6c6ec9635e814ffef0eaf72d7b1754..0d50481c702903893b725d157dfa49dd3554c967 100644 |
--- a/third_party/WebKit/Source/core/editing/SelectionController.cpp |
+++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp |
@@ -43,6 +43,7 @@ |
#include "core/frame/Settings.h" |
#include "core/layout/LayoutView.h" |
#include "core/layout/api/LayoutViewItem.h" |
+#include "core/page/ChromeClient.h" |
#include "core/page/FocusController.h" |
#include "core/page/Page.h" |
#include "platform/RuntimeEnabledFeatures.h" |
@@ -258,8 +259,12 @@ bool SelectionController::handleMousePressEventSingleClick( |
SelectionInFlatTree::Builder() |
.collapse(visiblePos.toPositionWithAffinity()) |
.build())), |
- CharacterGranularity, isHandleVisible ? HandleVisibility::Visible |
- : HandleVisibility::NotVisible); |
+ CharacterGranularity, |
+ isHandleVisible ? HandleVisibility::Visible |
+ : HandleVisibility::NotVisible); |
+ |
+ document().page()->chromeClient().handlePotentialTextSuggestionTap(); |
+ |
return false; |
} |