From d6a599dbc9d824a462b2b206316e102bf8136446 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 11 Jul 2012 13:45:28 +0200 Subject: Imported WebKit commit 8ff1f22783a32de82fee915abd55bd1b298f2644 (http://svn.webkit.org/repository/webkit/trunk@122325) New snapshot that should work with the latest Qt build system changes --- Source/WebKit/chromium/public/WebViewClient.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Source/WebKit/chromium/public/WebViewClient.h') diff --git a/Source/WebKit/chromium/public/WebViewClient.h b/Source/WebKit/chromium/public/WebViewClient.h index 9b39da7dd..662409f7a 100644 --- a/Source/WebKit/chromium/public/WebViewClient.h +++ b/Source/WebKit/chromium/public/WebViewClient.h @@ -32,10 +32,12 @@ #define WebViewClient_h #include "WebAccessibilityNotification.h" +#include "WebContentDetectionResult.h" #include "WebDragOperation.h" #include "WebEditingAction.h" #include "WebFileChooserCompletion.h" #include "WebFileChooserParams.h" +#include "WebHitTestResult.h" #include "WebPageVisibilityState.h" #include "WebPopupType.h" #include "WebTextAffinity.h" @@ -185,6 +187,7 @@ public: virtual void didChangeContents() { } virtual void didExecuteCommand(const WebString& commandName) { } virtual void didEndEditing() { } + virtual void didChangeFormState(const WebNode&) { } // This method is called in response to WebView's handleInputEvent() // when the default action for the current keyboard event is not @@ -363,6 +366,15 @@ public: virtual WebUserMediaClient* userMediaClient() { return 0; } + + // Content detection ---------------------------------------------------- + + // Retrieves detectable content (e.g., email addresses, phone numbers) + // around a hit test result. The embedder should use platform-specific + // content detectors (e.g., from the Android intent system) to analyze the + // region around the hit test result. + virtual WebContentDetectionResult detectContentAround(const WebHitTestResult&) { return WebContentDetectionResult(); } + protected: ~WebViewClient() { } }; -- cgit v1.2.1