Jonas Jenwald
6b2810f1f0
Pass in a PDFViewer
instance to PDFPresentationMode
and use it to eliminate all references to PDFViewerApplication
...
This patch is the the first step towards to addressing issue 6158, which will be done by refactoring the code for setting/getting the current scale in `viewer.js`.
2015-07-06 09:49:51 +02:00
Jonas Jenwald
601bd4a930
Preface all "fullscreen" CSS rules with a |pdfPresentationMode| class, and add it to the |viewerContainer| while Presentation Mode is active
2015-04-21 16:28:50 +02:00
Jonas Jenwald
4211df63eb
Refactor PDFPresentationMode to be more class-like
2015-04-21 16:28:50 +02:00
Jonas Jenwald
4edee12e92
Re-ordering the PDFPresentationMode code so that the "public" functions are placed towards the top of the file
2015-04-21 16:28:49 +02:00
Jonas Jenwald
d5089f42fa
Initial refactoring of the PDFPresentationMode code
...
Noteworthy changes:
- Adds JSDoc comments to PDFPresentationMode.
- Removes a couple of, no longer necessary, helper functions.
2015-04-21 16:28:49 +02:00
Jonas Jenwald
f15d5c8cfe
Rename the presentation_mode.js file and adjust the function names
...
Also moves the |fullscreenchange| event listeners into PDFPresentationMode.
2015-04-21 16:28:48 +02:00