Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Unified Diff: third_party/WebKit/public/web/WebView.h

Issue 1528153004: Look Up on Force Touch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebView.h
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
index e21137b4c3feeb12ea0c643178fc761c5f133e8d..b24925c1b9f1aa75b0e148e3f2b1f8eea0cfaaac 100644
--- a/third_party/WebKit/public/web/WebView.h
+++ b/third_party/WebKit/public/web/WebView.h
@@ -342,6 +342,10 @@ public:
// WebView (if there is such an image)
virtual void saveImageAt(const WebPoint&) = 0;
+ // Selects the word at a particular point in the WebView if available.
+ // Returns true if a word has been selected.
+ virtual bool selectWordIfAnyAt(const WebPoint&) = 0;
+
// Notifies the WebView that a drag has terminated.
virtual void dragSourceEndedAt(
const WebPoint& clientPoint, const WebPoint& screenPoint,

Powered by Google App Engine
This is Rietveld 408576698