summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/public/WebView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/public/WebView.h')
-rw-r--r--Source/WebKit/chromium/public/WebView.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/Source/WebKit/chromium/public/WebView.h b/Source/WebKit/chromium/public/WebView.h
index 4da3363dd..e8f791fa6 100644
--- a/Source/WebKit/chromium/public/WebView.h
+++ b/Source/WebKit/chromium/public/WebView.h
@@ -60,9 +60,11 @@ class WebString;
class WebTextFieldDecoratorClient;
class WebViewClient;
struct WebActiveWheelFlingParameters;
+struct WebFloatQuad;
struct WebMediaPlayerAction;
struct WebPluginAction;
struct WebPoint;
+struct WebTouchCandidatesInfo;
class WebView : public WebWidget {
public:
@@ -461,10 +463,24 @@ public:
virtual bool isSelectionEditable() const = 0;
- // Benchmarking support --------------------------------------------
+ // Benchmarking support -------------------------------------------------
virtual WebViewBenchmarkSupport* benchmarkSupport() { return 0; }
+
+ // Touch ----------------------------------------------------------------
+
+ // Returns a list of layout bounding boxes of the event target node touched by
+ // the input point with the padding. If no target node is found, an empty
+ // list is returned. If the node is of an inline type, each line box is returned
+ // separately. Otherwise, one bounding box is returned. Also returns information
+ // about the found candidates and their dimension, and the highlight color to use.
+ virtual WebVector<WebFloatQuad> getTouchHighlightQuads(const WebPoint&,
+ int padding,
+ WebTouchCandidatesInfo& outTouchInfo,
+ WebColor& outTapHighlightColor) = 0;
+
+
// Visibility -----------------------------------------------------------
// Sets the visibility of the WebView.