Changeset 99151 in webkit


Ignore:
Timestamp:
Nov 3, 2011, 2:07:33 AM (14 years ago)
Author:
Simon Hausmann
Message:

Unreviewed Qt build fix(es).

  • UIProcess/qt/QtDesktopWebPageProxy.cpp:

(QtDesktopWebPageProxy::handleDragMoveEvent): Adapt to dragSession API change.
(QtDesktopWebPageProxy::handleDropEvent): Ditto.

  • WebProcess/Plugins/Netscape/NetscapePluginNone.cpp:

(WebKit::NetscapePlugin::wantsWindowRelativeNPWindowCoordinates): Implement here
also, for plugin-disabled builds.

Location:
trunk/Source/WebKit2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r99149 r99151  
     12011-11-03  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        Unreviewed Qt build fix(es).
     4
     5        * UIProcess/qt/QtDesktopWebPageProxy.cpp:
     6        (QtDesktopWebPageProxy::handleDragMoveEvent): Adapt to dragSession API change.
     7        (QtDesktopWebPageProxy::handleDropEvent): Ditto.
     8        * WebProcess/Plugins/Netscape/NetscapePluginNone.cpp:
     9        (WebKit::NetscapePlugin::wantsWindowRelativeNPWindowCoordinates): Implement here
     10        also, for plugin-disabled builds.
     11
    1122011-11-03  ChangSeok Oh  <shivamidow@gmail.com>
    213
  • trunk/Source/WebKit2/UIProcess/qt/QtDesktopWebPageProxy.cpp

    r99051 r99151  
    223223    DragData dragData(ev->mimeData(), ev->pos(), QCursor::pos(), dropActionToDragOperation(ev->possibleActions()));
    224224    m_webPageProxy->dragUpdated(&dragData);
    225     ev->setDropAction(dragOperationToDropAction(m_webPageProxy->dragOperation()));
    226     if (m_webPageProxy->dragOperation() != DragOperationNone)
     225    ev->setDropAction(dragOperationToDropAction(m_webPageProxy->dragSession().operation));
     226    if (m_webPageProxy->dragSession().operation != DragOperationNone)
    227227        ev->accept();
    228228
     
    239239    SandboxExtension::Handle handle;
    240240    m_webPageProxy->performDrag(&dragData, String(), handle);
    241     ev->setDropAction(dragOperationToDropAction(m_webPageProxy->dragOperation()));
     241    ev->setDropAction(dragOperationToDropAction(m_webPageProxy->dragSession().operation));
    242242    ev->accept();
    243243
  • trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginNone.cpp

    r95901 r99151  
    8989}
    9090
     91bool NetscapePlugin::wantsWindowRelativeNPWindowCoordinates()
     92{
     93    return false;
     94}
     95
    9196} // namespace WebKit
    9297
Note: See TracChangeset for help on using the changeset viewer.