PDF viewer for Drupal
Seems you're looking for the PDF module

Uses HTML5 to display PDF files if users don't have pdf plugin for their browsers.
With this module you can use pdf.js to display PDF file all the time or only use pdf.js when visitors don't have pdf reader plugin.