[webkit-dev] Why are the mock implementations in WebCore/platform?

Sam Weinig sam.weinig at gmail.com
Fri Nov 26 10:33:28 PST 2010


Just a general question as to why the decision was made to put the mock
implementation classes (DeviceOrientationClientMock, GeolocationServiceMock
and SpeechInputClientMock) beneath WebCore/platform.  WebCore/platform is
not supposed to know about classes outside of WebCore/platform in WebCore
(such as DeviceOrientationController) and this seems to be perpetuating the
laying violation.  Perhaps a top-level WebCore/mock/ would be preferable.

- Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20101126/657cedcf/attachment.html>


More information about the webkit-dev mailing list