1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Register as File browser handler in Chrome OS

This commit is contained in:
Rob Wu 2014-01-25 22:29:33 +01:00
parent b0e18a0703
commit 60fb28caf0
5 changed files with 135 additions and 11 deletions

View file

@ -1588,6 +1588,9 @@ document.addEventListener('DOMContentLoaded', function webViewerLoad(evt) {
//#endif
//#if CHROME
//var file = DEFAULT_URL;
//// XHR cannot get data from drive:-URLs, so expand to filesystem: (Chrome OS)
//file = file.replace(/^drive:/i,
// 'filesystem:' + location.origin + '/external/');
//#endif
//#if !(FIREFOX || MOZCENTRAL || CHROME || B2G)