On some platforms it might be necessary to compile WebKit disabling dragging functionality (like low-resolution touch screens).
I have created a patch that adds a new compilation parameter --enable-drag-support (defaulted to "yes"), which allows adjusting this behaviour.
Created attachment 212338 [details]
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 212338 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=212338&action=review
r- because you're touching mac-related stuff
> +#if ENABLE(DRAG_SUPPORT)
I am not sure this is correct, in any case, I don't think you should change Mac's symbols export file in a gtk-specific change =)
Wouldn't it make sense for the client to handle this? It could do that by intercepting drag signals and not sending them to the widget.
Created attachment 212438 [details]
Fix the compilation problems when hardcoding on the Profile.h +define ENABLE_DRAG_SUPPORT 0 on the GTK build, but without adding an extra configuration option. Removed the changes on Mac's symbols export file.
Attachment 212438 [details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/page/gtk/EventHandlerGtk.cpp', u'Source/WebCore/platform/gtk/PasteboardGtk.cpp', u'Source/WebKit/gtk/ChangeLog', u'Source/WebKit/gtk/WebCoreSupport/DragClientGtk.cpp', u'Source/WebKit/gtk/WebCoreSupport/DragClientGtk.h', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp', u'Source/WebKit2/WebProcess/WebCoreSupport/gtk/WebDragClientGtk.cpp']" exit_code: 1
Source/WebKit2/ChangeLog:8: Line contains tab character. [whitespace/tab] 
Total errors found: 1 in 9 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 212440 [details]
Comment on attachment 212440 [details]
Clearing flags on attachment: 212440
Committed r156345: <http://trac.webkit.org/changeset/156345>
All reviewed patches have been landed. Closing bug.