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

Unified Diff: public/web/WebViewClient.h

Issue 259263003: Fix to remove customised String over IPC for SmartClip (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « public/web/WebView.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
« no previous file with comments | « public/web/WebView.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698