Bug 67225

Summary: Plug-ins have to use JavaScript to find out the current device scale factor
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Plug-insAssignee: Anders Carlsson <andersca>
Severity: Normal CC: andersca, bdakin, sullivan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.7   
Description Flags
Patch darin: review+

Description Adam Roben (:aroben) 2011-08-30 13:47:51 PDT
In order to find out the current device scale factor, plug-ins have to use JavaScript to determine the window.devicePixelRatio value. It would be much nicer if we had a simple NPAPI-style API for them to use instead.
Comment 1 Radar WebKit Bug Importer 2011-08-30 13:48:23 PDT
Comment 2 Anders Carlsson 2011-10-25 15:48:13 PDT
Created attachment 112416 [details]
Comment 3 Anders Carlsson 2011-10-25 15:59:37 PDT
Committed r98403: <http://trac.webkit.org/changeset/98403>