[Webkit-unassigned] [Bug 47202] Adding C API for dealing with viewport meta info
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 6 04:54:35 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=47202
--- Comment #7 from Adam Roben (aroben) <aroben at apple.com> 2010-10-06 04:54:34 PST ---
(In reply to comment #5)
> What about?
>
> WK_EXPORT WKViewportAttributesRef WKPageCreateComputedViewportAttributes(...)
>
> or do you have any better idea?
I'm not sure "Computed" adds anything here. And "Copy" makes a little more sense to me, since these seem to me to be a property of the page, rather than an entirely separate object that the page is just a factory for. So WKPageCopyViewportAttributes seems like a good name to me.
As I said in bug 47256, I think it would be useful to discuss use-cases for the API as well. That way we'll know if the API we're designing will actually work for anyone!
(In reply to comment #6)
> Someone suggested calling this WKViewportFeaturesRef instead of WKViewportAttributesRef.
>
> I would like to know what name you think best describes the structure.
"Attributes" seems better than "Features". It's strange to think about something like "width" being a "feature".
--
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