[Webkit-unassigned] [Bug 87874] [chromium] Expose device scale factor in WebPluginContainer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 30 13:23:15 PDT 2012


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





--- Comment #6 from Adam Barth <abarth at webkit.org>  2012-05-30 13:23:15 PST ---
(From update of attachment 144872)
View in context: https://bugs.webkit.org/attachment.cgi?id=144872&action=review

> Source/WebKit/chromium/src/WebPluginContainerImpl.cpp:255
> +float WebPluginContainerImpl::getDeviceScaleFactor()
> +{
> +    Page* page = m_element->document()->page();
> +    if (!page)
> +        return 1.0;
> +    Settings* settings = page->settings();
> +    if (!settings)
> +        return 1.0;
> +    return settings->defaultDeviceScaleFactor();
> +}

Can we hold off on this API until http://lists.webkit.org/pipermail/webkit-dev/2012-May/020847.html gets resolved?  It's likely that this will need to change or at least be renamed.

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