Changeset 194846 in webkit


Ignore:
Timestamp:
Jan 11, 2016 3:32:07 AM (8 years ago)
Author:
mario@webkit.org
Message:

[WK2][GTK] Propagate motion-notify-event signals from the WebView
https://bugs.webkit.org/show_bug.cgi?id=152974

Reviewed by Carlos Garcia Campos.

Always propagate motion-notify-event signals, regardless of what the
web process does, so that we can listen for those events (which does
not act on specific targets inside the webview) from the container
widget too, and not just from the WebView itself.

  • UIProcess/API/gtk/WebKitWebViewBase.cpp:

(webkitWebViewBaseMotionNotifyEvent): Ensure the signal gets propagated.

Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r194827 r194846  
     12016-01-11  Mario Sanchez Prada  <mario@endlessm.com>
     2
     3        [WK2][GTK] Propagate motion-notify-event signals from the WebView
     4        https://bugs.webkit.org/show_bug.cgi?id=152974
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Always propagate motion-notify-event signals, regardless of what the
     9        web process does, so that we can listen for those events (which does
     10        not act on specific targets inside the webview) from the container
     11        widget too, and not just from the WebView itself.
     12
     13        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
     14        (webkitWebViewBaseMotionNotifyEvent): Ensure the signal gets propagated.
     15
    1162016-01-10  Dan Bernstein  <mitz@apple.com>
    217
  • trunk/Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp

    r194496 r194846  
    794794
    795795    if (priv->authenticationDialog)
    796         return TRUE;
     796        return GTK_WIDGET_CLASS(webkit_web_view_base_parent_class)->motion_notify_event(widget, event);
    797797
    798798    priv->pageProxy->handleMouseEvent(NativeWebMouseEvent(reinterpret_cast<GdkEvent*>(event), 0 /* currentClickCount */));
    799799
    800     return TRUE;
     800    return FALSE;
    801801}
    802802
Note: See TracChangeset for help on using the changeset viewer.