Drag to move DOM nodes does not work
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 May 2013 02:23:41 +0000 (02:23 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 May 2013 02:23:41 +0000 (02:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=116865

Do not block drag events on the WebKit 1 Web Inspector WebView.

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2013-05-28
Reviewed by Timothy Hatcher.

* WebCoreSupport/WebInspectorClient.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150861 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebCoreSupport/WebInspectorClient.mm

index 81799cb..d7f90d9 100644 (file)
@@ -1,3 +1,14 @@
+2013-05-28  Joseph Pecoraro  <pecoraro@apple.com>
+
+        Drag to move DOM nodes does not work
+        https://bugs.webkit.org/show_bug.cgi?id=116865
+
+        Do not block drag events on the WebKit 1 Web Inspector WebView.
+
+        Reviewed by Timothy Hatcher.
+
+        * WebCoreSupport/WebInspectorClient.mm:
+
 2013-05-28  Andreas Kling  <akling@apple.com>
 
         Document::setFocusedNode() should be setFocusedElement().
index bacee40..16650e8 100644 (file)
@@ -684,11 +684,6 @@ void WebInspectorFrontendClient::append(const String& suggestedURL, const String
 // MARK: -
 // MARK: UI delegate
 
-- (NSUInteger)webView:(WebView *)sender dragDestinationActionMaskForDraggingInfo:(id <NSDraggingInfo>)draggingInfo
-{
-    return WebDragDestinationActionNone;
-}
-
 - (void)webView:(WebView *)sender runOpenPanelForFileButtonWithResultListener:(id<WebOpenPanelResultListener>)resultListener allowMultipleFiles:(BOOL)allowMultipleFiles
 {
     NSOpenPanel *panel = [NSOpenPanel openPanel];