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>
Status: RESOLVED FIXED    
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   
Attachments:
Description Flags
Patch darin: review+

Adam Roben (:aroben)
Reported 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.
Attachments
Patch (24.70 KB, patch)
2011-10-25 15:48 PDT, Anders Carlsson
darin: review+
Radar WebKit Bug Importer
Comment 1 2011-08-30 13:48:23 PDT
Anders Carlsson
Comment 2 2011-10-25 15:48:13 PDT
Anders Carlsson
Comment 3 2011-10-25 15:59:37 PDT
Note You need to log in before you can comment on or make changes to this bug.