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 #16993 from Snuffleupagus/gv-no-AltTextManager

[GeckoView] Avoid bundling the `AltTextManager` class, since it's unused
This commit is contained in:
calixteman 2023-09-21 14:19:51 +02:00 committed by GitHub
commit a7894a4d7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 1 deletions

View file

@ -55,7 +55,7 @@ import {
import { AppOptions, OptionKind } from "./app_options.js";
import { AutomationEventBus, EventBus } from "./event_utils.js";
import { LinkTarget, PDFLinkService } from "./pdf_link_service.js";
import { AltTextManager } from "./alt_text_manager.js";
import { AltTextManager } from "web-alt_text_manager";
import { AnnotationEditorParams } from "web-annotation_editor_params";
import { OverlayManager } from "./overlay_manager.js";
import { PasswordPrompt } from "./password_prompt.js";

View file

@ -13,6 +13,7 @@
* limitations under the License.
*/
const AltTextManager = null;
const AnnotationEditorParams = null;
const PDFAttachmentViewer = null;
const PDFCursorTools = null;
@ -26,6 +27,7 @@ const PDFThumbnailViewer = null;
const SecondaryToolbar = null;
export {
AltTextManager,
AnnotationEditorParams,
PDFAttachmentViewer,
PDFCursorTools,

View file

@ -56,6 +56,7 @@ See https://github.com/adobe-type-tools/cmap-resources
"display-node_utils": "../src/display/stubs.js",
"display-svg": "../src/display/stubs.js",
"web-alt_text_manager": "./stubs-geckoview.js",
"web-annotation_editor_params": "./stubs-geckoview.js",
"web-com": "./genericcom.js",
"web-pdf_attachment_viewer": "./stubs-geckoview.js",

View file

@ -67,6 +67,7 @@ See https://github.com/adobe-type-tools/cmap-resources
"display-node_utils": "../src/display/stubs.js",
"display-svg": "../src/display/stubs.js",
"web-alt_text_manager": "./alt_text_manager.js",
"web-annotation_editor_params": "./annotation_editor_params.js",
"web-com": "./genericcom.js",
"web-pdf_attachment_viewer": "./pdf_attachment_viewer.js",