[Webkit-unassigned] [Bug 102339] Provide page/window coordinates to plugin's local coordinates translation in WebPluginContainer.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 15 18:18:49 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=102339





--- Comment #18 from lazyboy at chromium.org  2012-11-15 18:20:38 PST ---
(From update of attachment 174541)
View in context: https://bugs.webkit.org/attachment.cgi?id=174541&action=review

>>> Source/WebKit/chromium/tests/WebPluginContainerTest.cpp:71
>>> +class TestPluginWebFrameClient : public FrameTestHelpers::TestWebFrameClient {
>> 
>> It seesms like this class could just as easily inherit from WebFrameClient directly.
> 
> Yes it easily could.
> All tests using same base Test* class would have the benefit that we share mocking/testing properties as much, so down the road if anyone adds useful stub to TestWebFrameClient, we get that for free here.
> Unfortunately this is not a win-win situation as I think of it more now, it also makes TestWebFrameClient more constrained, it cannot break certain plugin functionality this test expects (which is empty at this moment).
> I can remove this and make it direct subclass of WebFrameClient if you like.

Removed and subclassing WebFrameClient.
Done.

-- 
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