diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-08-12 09:27:39 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-08-12 09:27:39 +0200 |
| commit | 3749d61e1f7a59f5ec5067e560af1eb610c82015 (patch) | |
| tree | 73dc228333948738bbe02976cacca8cd382bc978 /Source/WebKit/chromium/public/WebView.h | |
| parent | b32b4dcd9a51ab8de6afc53d9e17f8707e1f7a5e (diff) | |
| download | qtwebkit-3749d61e1f7a59f5ec5067e560af1eb610c82015.tar.gz | |
Imported WebKit commit a77350243e054f3460d1137301d8b3faee3d2052 (http://svn.webkit.org/repository/webkit/trunk@125365)
New snapshot with build fixes for latest API changes in Qt and all WK1 Win MSVC fixes upstream
Diffstat (limited to 'Source/WebKit/chromium/public/WebView.h')
| -rw-r--r-- | Source/WebKit/chromium/public/WebView.h | 18 |
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. |
