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

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

Issue 1528153004: Look Up on Force Touch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/WebWidget.h
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h
index ceb006fab242ba7440712515e0060f2649f0d4de..b0064502e37893cafdf847970f46539b95830324 100644
--- a/third_party/WebKit/public/web/WebWidget.h
+++ b/third_party/WebKit/public/web/WebWidget.h
@@ -125,6 +125,11 @@ public:
// Called to inform the WebWidget of an input event.
virtual WebInputEventResult handleInputEvent(const WebInputEvent&) { return WebInputEventResult::NotHandled; }
+ virtual bool selectWordIfAnyAtCoordinates(float x, float y)
Rick Byers 2015/12/21 16:31:09 Looking at this in more detail, it seems that it p
Rick Byers 2015/12/21 16:31:09 For consistency with similar APIs, please use WebP
Rick Byers 2015/12/21 16:31:09 please add a short description (we try to keep the
spqchan 2016/01/06 22:52:31 Done, switched to WebPoint
spqchan 2016/01/06 22:52:31 Sure thing. I also moved the code from render_widg
spqchan 2016/01/06 22:52:31 Done.
+ {
+ return false;
+ }
+
// Called to inform the WebWidget of the mouse cursor's visibility.
virtual void setCursorVisibilityState(bool isVisible) { }

Powered by Google App Engine
This is Rietveld 408576698