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) {} 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 * @interface
*/ */
@ -265,7 +237,6 @@ class IL10n {
export { export {
IL10n, IL10n,
IPDFAnnotationLayerFactory, IPDFAnnotationLayerFactory,
IPDFHistory,
IPDFLinkService, IPDFLinkService,
IPDFStructTreeLayerFactory, IPDFStructTreeLayerFactory,
IPDFTextLayerFactory, IPDFTextLayerFactory,