https://groups.google.com/d/msg/native-client-discuss/bFpsVMmTofM/86M2ke8rfjIJ - looks like PPAPI plugins like pdfium (which is fully open source now) have access to native OS interfaces.