diff options
| author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-07-11 13:45:28 +0200 |
|---|---|---|
| committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-07-11 13:45:28 +0200 |
| commit | d6a599dbc9d824a462b2b206316e102bf8136446 (patch) | |
| tree | ecb257a5e55b2239d74b90fdad62fccd661cf286 /Source/WebKit/chromium/public/WebViewClient.h | |
| parent | 3ccc3a85f09a83557b391aae380d3bf5f81a2911 (diff) | |
| download | qtwebkit-d6a599dbc9d824a462b2b206316e102bf8136446.tar.gz | |
Imported WebKit commit 8ff1f22783a32de82fee915abd55bd1b298f2644 (http://svn.webkit.org/repository/webkit/trunk@122325)
New snapshot that should work with the latest Qt build system changes
Diffstat (limited to 'Source/WebKit/chromium/public/WebViewClient.h')
| -rw-r--r-- | Source/WebKit/chromium/public/WebViewClient.h | 12 |
1 files changed, 12 insertions, 0 deletions
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() { } }; |
