-
leandrogracia@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=94349 Reviewed by Adam Barth. The current WebViewClient API exposes a method named detectContentIntentAround. However, this is not designed to detect any "content intent", but to allow the embedder to detect content around a position and fire Android intents if appropriate. This patch also disables content detection if the touched node listens to events that consume the tap action like clicks, touch events or mouse events. * public/WebViewClient.h: (WebViewClient): (WebKit::WebViewClient::detectContentAround): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::detectContentOnTouch): * src/WebViewImpl.h: (WebViewImpl): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0fe0bbab