[Webkit-unassigned] [Bug 76181] [GTK] FullScreen signals
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 18 09:09:14 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=76181
--- Comment #4 from Xan Lopez <xan.lopez at gmail.com> 2012-01-18 09:09:15 PST ---
(From update of attachment 122247)
View in context: https://bugs.webkit.org/attachment.cgi?id=122247&action=review
An overall comment, I think it would fit using the policy action mechanism here.
> Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:932
> + return;
Shouldn't this be if (returnValue) ? Otherwise you are doing nothing if the signal is not handled? Maybe I'm on crack.
> Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:951
> + g_signal_emit_by_name(m_webView, "leaving-fullscreen", &returnValue);
Shouldn't this also allow to cancel the action?
> Source/WebKit/gtk/webkit/webkitwebview.cpp:2622
> + /**
Missing Since: in the signals?
> Source/WebKit/gtk/webkit/webkitwebview.h:180
> + gboolean (* leaving_fullscreen) (WebKitWebView *web_view);
You need to remove padding from the class, otherwise you break the ABI.
--
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