Create a new message in the chatter, add a PDF as attachment and save it. You'll see an inline preview of the PDF:
This module needs an external python library, named Wand. You can install this by executing the following command: