diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /toolkit/components/pdfjs/content/web/viewer-geckoview.html | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'toolkit/components/pdfjs/content/web/viewer-geckoview.html')
-rw-r--r-- | toolkit/components/pdfjs/content/web/viewer-geckoview.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/toolkit/components/pdfjs/content/web/viewer-geckoview.html b/toolkit/components/pdfjs/content/web/viewer-geckoview.html new file mode 100644 index 0000000000..c6089a3d66 --- /dev/null +++ b/toolkit/components/pdfjs/content/web/viewer-geckoview.html @@ -0,0 +1,75 @@ +<!DOCTYPE html> +<!-- +Copyright 2012 Mozilla Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + +Adobe CMap resources are covered by their own copyright but the same license: + + Copyright 1990-2015 Adobe Systems Incorporated. + +See https://github.com/adobe-type-tools/cmap-resources +--> +<html dir="ltr" mozdisallowselectionprint> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> + <title>PDF.js viewer</title> + +<!-- This snippet is used in the Firefox extension (included from viewer.html) --> +<script src="resource://pdf.js/build/pdf.js"></script> + + <link rel="stylesheet" href="resource://pdf.js/web/viewer.css"> + + <script src="resource://pdf.js/web/viewer.js"></script> + + </head> + + <body tabindex="1"> + <div id="outerContainer"> + + <div id="mainContainer"> + + <div id="floatingToolbar"> + <button id="download" class="toolbarButton" title="Save" tabindex="31" data-l10n-id="download"> + <span data-l10n-id="download_label">Download</span> + </button> + <button id="openInApp" class="toolbarButton" title="Open in app" tabindex="32" data-l10n-id="open_in_app"> + <span data-l10n-id="open_in_app_label">Open in app</span> + </button> + </div> + + <div id="viewerContainer" tabindex="0"> + <div id="viewer" class="pdfViewer"></div> + </div> + </div> <!-- mainContainer --> + + <div id="dialogContainer"> + <dialog id="passwordDialog"> + <div class="row"> + <label for="password" id="passwordText" data-l10n-id="password_label">Enter the password to open this PDF file:</label> + </div> + <div class="row"> + <input type="password" id="password" class="toolbarField"> + </div> + <div class="buttonRow"> + <button id="passwordCancel" class="dialogButton"><span data-l10n-id="password_cancel">Cancel</span></button> + <button id="passwordSubmit" class="dialogButton"><span data-l10n-id="password_ok">OK</span></button> + </div> + </dialog> + </div> <!-- dialogContainer --> + + </div> <!-- outerContainer --> + + </body> +</html> |