[GeckoView] Avoid bundling the AltTextManager
class, since it's unused
This commit is contained in:
parent
561aea530b
commit
e2b7896826
@ -244,6 +244,7 @@ function createWebpackConfig(
|
||||
"display-svg": "src/display/stubs.js",
|
||||
};
|
||||
const viewerAlias = {
|
||||
"web-alt_text_manager": "web/alt_text_manager.js",
|
||||
"web-annotation_editor_params": "web/annotation_editor_params.js",
|
||||
"web-com": "",
|
||||
"web-pdf_attachment_viewer": "web/pdf_attachment_viewer.js",
|
||||
|
@ -24,6 +24,7 @@
|
||||
"display-node_utils": "../../src/display/stubs.js",
|
||||
"display-svg": "../../src/display/stubs.js",
|
||||
|
||||
"web-alt_text_manager": "../../web/alt_text_manager.js",
|
||||
"web-annotation_editor_params": "../../web/annotation_editor_params.js",
|
||||
"web-com": "../../web/genericcom.js",
|
||||
"web-pdf_attachment_viewer": "../../web/pdf_attachment_viewer.js",
|
||||
|
@ -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";
|
||||
|
@ -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,
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user