Chromium Code Reviews| Index: public/web/WebViewClient.h |
| diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h |
| index 7548bb61c4f27d4af5c882bbc453d9d7eb6b71d5..fb07c0b6faa67c41f3e33958e0a0d8cf1da7c98f 100644 |
| --- a/public/web/WebViewClient.h |
| +++ b/public/web/WebViewClient.h |
| @@ -213,6 +213,10 @@ public: |
| // unless the view did not need a layout. |
| virtual void didUpdateLayout() { } |
| + // This method is called in response to getSmartClipData(). |
| + // It returns the clipped rect and the text contained in the clipped rect. |
| + virtual void updateSmartClipDataResult(const WebString& text, const WebRect& rect) { } |
|
abarth-chromium
2014/04/30 16:59:43
Why not just use an out parameters on the WebView
AviD
2014/05/02 15:03:22
Done.
|
| + |
| // Return true to swallow the input event if the embedder will start a disambiguation popup |
| virtual bool didTapMultipleTargets(const WebGestureEvent&, const WebVector<WebRect>& targetRects) { return false; } |