903 Commits (6b2810f1f0809867ef1243a6a1b8ef9b24244d1b)

Author SHA1 Message Date
Jonas Jenwald 6b2810f1f0 Pass in a `PDFViewer` instance to `PDFPresentationMode` and use it to eliminate all references to `PDFViewerApplication` 10 years ago
Rob Wu 2932f7c676 Zoom relative to cursor position via mouse wheel 10 years ago
Yury Delendik f3c3b1fc2d Removes B2G preprocessing directives. 10 years ago
Yury Delendik 1b847df2f3 Using pdfjs-dist as a library for b2g viewer. 10 years ago
Jonas Jenwald ffeba9c630 Move the page switching code into `set currentPageNumber` in `PDFViewer` instead of placing it in the `pagechange` event handler 10 years ago
Jonas Jenwald 7cb62089ad Fix a typo causing a TypeError when attempting to call pdfHistory_clearHistoryState (issue 6121) 10 years ago
Rob Wu f4ba0e342e Check availability of canvas & PDF before printing 10 years ago
Rob Wu adb2f8ae21 [CRX] Add Referer request header if needed 10 years ago
Jonas Jenwald 27713f9454 Ensure that PDFHistory does not incorrectly replace the initial document hash (issue 6079) 10 years ago
Yury Delendik 5cff06e52a Refactors PDFHistory. 10 years ago
Yury Delendik 0ef6212b64 Refactors PDFLinkService. 10 years ago
Xiliang Chen ed540a8d00 Fix scroll to zoom jump between 25% and 1000% 10 years ago
Jonas Jenwald ba0eb7fdc6 Add the |location| to the |updateviewarea| UI event 10 years ago
David Flanagan ae740768b0 Bug 1152841 - make pdf.js viewer app handle open requests from file viewers 10 years ago
Jonas Jenwald 66b12974c9 Prevent Firefox from warning about |unreachable code after return statement| 10 years ago
Tim van der Meij 6abf3d6ba3 Simplify document properties field logic 10 years ago
Jonas Jenwald 91ce16bc1d Enable linting of Firefox specific code in viewer.js 10 years ago
Tim van der Meij 1a5de56675 Group public/private methods and add comments 10 years ago
Tim van der Meij 7cf440c560 Refactor PDFDocumentProperties to be more class-like 10 years ago
Tim van der Meij ca8f842d87 Rename DocumentProperties to PDFDocumentProperties 10 years ago
Jonas Jenwald 10f134bcc2 Remove no longer needed hacks that enable spacebar scrolling in Firefox (issue 3498) 10 years ago
Jonas Jenwald 4211df63eb Refactor PDFPresentationMode to be more class-like 10 years ago
Jonas Jenwald d5089f42fa Initial refactoring of the PDFPresentationMode code 10 years ago
Jonas Jenwald f15d5c8cfe Rename the presentation_mode.js file and adjust the function names 10 years ago
Jonas Jenwald e7fd5b4d4d Refactor the options passed to |PresentationMode.initialize| and clean-up some code in viewer.js and presentation_mode.js 10 years ago
Jonas Jenwald 95b2ec124b Move the PresentationMode-specific scrollWheel code from PDFViewerApplication 10 years ago
Jonas Jenwald 2dc1af8028 Break dependencies between PresentationMode and other code, and add PresentationMode related utility methods to PDFViewer 10 years ago
arai 5c4e3c31b8 Bug 1156287 - Do not extract unreachable code after return 10 years ago
Taylor Brown 34d3b96b52 prevent viewer from zooming on cmd+mousewheel 10 years ago
Jonas Jenwald 48242abe72 [B2G] Stub the |DownloadManager| to avoid error 10 years ago
Jonas Jenwald e5c4819601 Small refactoring of the code that calls |PDFViewerApplication.setInitialView| 10 years ago
Jonas Jenwald 6091e7bd6b Move the code that resets the history state when the |showPreviousViewOnLoad| preference is set to |false| 10 years ago
Jonas Jenwald 03497eabd5 Move fetching of the |defaultZoomValue| preference value to |PDFViewerApplication.initialize| 10 years ago
Rob Wu d34e6ddd60 Set page size via @page + size 10 years ago
Jonas Jenwald 36400ae48d Add |pageActualOption| to the list of predefined zoom options in the |scalechange| event handler in viewer.js 10 years ago
Jonas Jenwald 65a5543efe Disable PresentationMode for certain problematic configurations 10 years ago
speedplane 80d85b5fe7 Embedded PDF viewers should not be changing their parent page's title. 10 years ago
Rob Wu 6a16d7dd44 Reset state upon load if showPreviousViewOnLoad 10 years ago
Jonas Jenwald 8131440f9e Move the call to |PDFFindController.resolveFirstPage| into PDFViewer 10 years ago
Jonas Jenwald d53fa1884b Simplify a couple of preprocessor tags in viewer.js 10 years ago
Jonas Jenwald bb16475070 Use the |shadow| function from src/shared/util.js in viewer.js 10 years ago
Tim van der Meij 4c6ca1c78f Remove DownloadManager dependency 10 years ago
Tim van der Meij 733882ac25 Refactor PDFAttachmentView to be more class-like and to separate functionality into methods 10 years ago
Tim van der Meij 609e2a30e9 Rename DocumentAttachmentsView to PDFAttachmentView 10 years ago
Tim van der Meij 2c19d99a2e Rename document_attachments_view.js to pdf_attachment_view.js 10 years ago
Tim van der Meij ea1d37eb0d Refactor PDFAttachmentView to be more class-like and to separate functionality into methods 10 years ago
Tim van der Meij b17da309ed Rename DocumentOutlineView to PDFOutlineView 10 years ago
Tim van der Meij 3eeb571425 Rename document_outline_view.js to pdf_outline_view.js 10 years ago
fkaelberer d3022e1e70 Update thumbnail images only when sidebar is visible 10 years ago
fkaelberer 047d61ed1f Update thumbnail style only when sidebar is visible 10 years ago