[Webkit-unassigned] [Bug 39843] [GTK] WebKitWebView should support drops
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 1 12:33:18 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=39843
Gustavo Noronha (kov) <gns at gnome.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #58916|review? |review-
Flag| |
--- Comment #3 from Gustavo Noronha (kov) <gns at gnome.org> 2010-07-01 12:33:18 PST ---
(From update of attachment 58916)
WebCore/platform/gtk/ClipboardUtilitiesGtk.cpp:42
+ GdkDragAction dragOperationToGdkDragAction(DragOperation coreAction)
I feel this name is way too similar to the other function. How about dragOperationToSingleGdkDragAction?
WebCore/platform/gtk/ClipboardUtilitiesGtk.cpp:58
+ // to use it all applicable flags are on.
I failed to parse this comment. s/use it/check/?
WebKit/gtk/webkit/webkitwebview.cpp:1385
+ g_idle_add(reinterpret_cast<GSourceFunc>(doDragLeaveLater), priv->droppingContexts->get(context));
I learned to not trust idles. They get starved, and we lose. Can we replace this with a g_timeout_add(0...) call instead? If not, I'd prefer to have a flag that you raise to say these actions are pending, and perform them after handling drag-drop (perhaps register the timeout at that point?).
r- for the above, but otherwise yay!
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list