Changeset 29681 in webkit


Ignore:
Timestamp:
Jan 20, 2008 8:30:09 PM (16 years ago)
Author:
oliver@apple.com
Message:

Fix http://bugs.webkit.org/show_bug.cgi?id=16816 , rdar://problem/5682985

Reviewed by Mitz

Correctly trigger willPerformDragDestinationAction when a drop causes a
load to occur. The logic that originally did this was lost during the
great drag migration of '07.

Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r29679 r29681  
     12008-01-20  Oliver Hunt  <oliver@apple.com>
     2
     3        Reviewed by Mitz.
     4
     5        Fix http://bugs.webkit.org/show_bug.cgi?id=16816 , rdar://problem/5682985
     6       
     7        Correctly trigger willPerformDragDestinationAction when a drop causes a
     8        load to occur.  The logic that originally did this was lost during the
     9        great drag migration of '07.
     10
     11        * page/DragController.cpp:
     12        (WebCore::DragController::performDrag):
     13
    1142008-01-20  Dan Bernstein  <mitz@apple.com>
    215
  • trunk/WebCore/page/DragController.cpp

    r29663 r29681  
    201201    if (operationForLoad(dragData) == DragOperationNone)
    202202        return false;
    203      
     203
     204    m_client->willPerformDragDestinationAction(DragDestinationActionLoad, dragData);
    204205    m_page->mainFrame()->loader()->load(ResourceRequest(dragData->asURL()));
    205206    return true;
Note: See TracChangeset for help on using the changeset viewer.