[chromium] Track wheel event handler registration and pass to input filter
Created attachment 112779 [details] Patch
This should make it much easier to test compositor threading things. This patch changes the behavior when --enable-threaded-compositing is passed in, but that's not yet a supported configuration.
Comment on attachment 112779 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=112779&action=review Looks good > Source/WebKit/chromium/src/WebViewImpl.cpp:786 > + m_haveWheelEventHandlers = numberOfWheelHandlers; Is this WebKit style? I would find something like: m_haveWheelEventHandlers = (numberOfWheelHandlers > 0) a bit easier to read.
WK style is to avoid comparisons to 0 generally, but I agree that it'd be nice to call out the int->bool conversion here. Will change.
Created attachment 112787 [details] Patch
Comment on attachment 112787 [details] Patch Looks fine. r=me
Committed r98778: <http://trac.webkit.org/changeset/98778>