1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #13934 from Snuffleupagus/rm-IPDFHistory

Remove the `IPDFHistory` interface
This commit is contained in:
Tim van der Meij 2021-08-25 22:57:07 +02:00 committed by GitHub
commit 4346b39cbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,34 +102,6 @@ class IPDFLinkService {
isPageCached(pageNumber) {}
}
/**
* @interface
*/
class IPDFHistory {
/**
* @param {Object} params
*/
initialize({ fingerprint, resetHistory = false, updateUrl = false }) {}
reset() {}
/**
* @param {Object} params
*/
push({ namedDest = null, explicitDest, pageNumber }) {}
/**
* @param {number} pageNumber
*/
pushPage(pageNumber) {}
pushCurrentPosition() {}
back() {}
forward() {}
}
/**
* @interface
*/
@ -265,7 +237,6 @@ class IL10n {
export {
IL10n,
IPDFAnnotationLayerFactory,
IPDFHistory,
IPDFLinkService,
IPDFStructTreeLayerFactory,
IPDFTextLayerFactory,