2010-05-22 Martin Robinson <mrobinson@igalia.com>
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 May 2010 18:14:29 +0000 (18:14 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 22 May 2010 18:14:29 +0000 (18:14 +0000)
commit43d70c6a1116bb11684788ef62d6aca2f8345c51
treeb8b7839e1d37d42c0a86b1d596ee46385cfab79b
parent363302027f59234371f4ffc8261a6a4ba42644ac
2010-05-22  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] WebKit/gtk/WebCoreSupport/DragClientGtk::startDrag should use the Clipboard::sourceOperation
        https://bugs.webkit.org/show_bug.cgi?id=39459

        Add ClipboardUtilitiesGtk, a container for GTK+/WebCore clipboard utility functions.
        Initially add a function which converts a WebCore::DragOperation to a bitmask of
        GdkDragActions.

        No new tests, because behavior has not changed.

        * GNUmakefile.am:
        * platform/gtk/ClipboardUtilitiesGtk.cpp: Added.
        (WebCore::dragOperationToGdkDragActions): Added.
        * platform/gtk/ClipboardUtilitiesGtk.h: Added.
2010-05-22  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] WebKit/gtk/WebCoreSupport/DragClientGtk::startDrag should use the Clipboard::sourceOperation
        https://bugs.webkit.org/show_bug.cgi?id=39459

        * WebCoreSupport/DragClientGtk.cpp:
        (WebKit::DragClient::startDrag):
        Use Clipboard::sourceOperation instead of trying to figure out the GdkDragAction
        manually. The DOM may have changed the appropriate list of actions anyhow.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@60008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/GNUmakefile.am
WebCore/platform/gtk/ClipboardUtilitiesGtk.cpp [new file with mode: 0644]
WebCore/platform/gtk/ClipboardUtilitiesGtk.h [new file with mode: 0644]
WebKit/gtk/ChangeLog
WebKit/gtk/WebCoreSupport/DragClientGtk.cpp