pdf.js/extensions/chromium
Rob Wu b45e6a7cc9 Don't use shadow DOM for rendering <object>/<embed>
Multiple shadow roots are not supported any more in Chrome 51+
(https://crbug.com/603448#c6), so this patch changes the way that PDFs
are rendered in `<embed>` / `<object>` tags.

I used shadow roots because their content is not visible from the web
page, so the odds of conflicts were minimal. Now I have to render the
PDF frame directly in the page, which can be observed from the page
(unfortunately).

Now the following happens when an embedded PDF tag is detected:

- `<embed>` tags: The type and src attributes are updated.
- `<object>` tags: The type attribute is changed and the fallback
  content is set and displayed.
2016-04-23 23:52:22 +02:00
..
options Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
pageAction Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
.gitignore Renaming of extensions/chrome folder to extensions/chromium, and small tweak to manifest.json description as per #3600 2013-08-21 18:11:35 +02:00
chrome.tabs.executeScriptInFrame.js Making extensions/chromium/chrome.tabs.executeScriptInFrame.js adhere to the style guide 2014-03-09 23:29:34 +01:00
contentscript.js Don't use shadow DOM for rendering <object>/<embed> 2016-04-23 23:52:22 +02:00
contentstyle.css <object> / <embed> support in Chromium extension 2014-05-09 15:46:12 +02:00
extension-router.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
feature-detect.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
icon16.png Bug 972435 - Recompress all PNG assets 2014-02-13 17:57:10 +01:00
icon19.png Bug 972435 - Recompress all PNG assets 2014-02-13 17:57:10 +01:00
icon38.png Bug 972435 - Recompress all PNG assets 2014-02-13 17:57:10 +01:00
icon48.png Bug 972435 - Recompress all PNG assets 2014-02-13 17:57:10 +01:00
icon128.png Bug 972435 - Recompress all PNG assets 2014-02-13 17:57:10 +01:00
manifest.json Chrome extension: Add options page 2015-01-14 00:01:29 +01:00
pdfHandler-v2.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
pdfHandler-vcros.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
pdfHandler.html Don't reload after updating if a tab is in use 2015-08-14 19:00:12 +02:00
pdfHandler.js Allow local PDF files to be viewed in local frames 2016-02-10 14:52:54 +01:00
preferences_schema.json Chrome extension: Add options page 2015-01-14 00:01:29 +01:00
preserve-referer.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
restoretab.html Restore extension tab after reload 2015-08-14 19:00:12 +02:00
restoretab.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
suppress-update.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30