mozilla/pdf.js — pull request #1388 by saebekassebil (2012-03-22 18:54:56+00:00)
Title: Presentation Mode - Using the Fullscreen API

This is a stab at implementing a presentation mode for PDF.js. I've utilized the new Fullscreen API for this as suggested in #1355 by Julian.

The navigating is almost the same but have had some changes:

- Navigating is per page. Also called Single Page mode.
- Because of this "page-fit" is the only valid zoom-level.
- I've added `` as a "next page" key.

I had to make some CSS hacks, as I realised that Chrome and Firefox handles the `overflow` attribute differently, in Fullscreen mode (because of the parent's `position:fixed`).

I've for now just added a button to the toolbar called "Fullscreen" - Maybe we could find a nice icon for that?