1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 23:28:06 +02:00

Reporting print usage

This commit is contained in:
Yury Delendik 2014-06-14 15:55:21 -05:00
parent a45e10337c
commit 7ac1c6b034
4 changed files with 18 additions and 0 deletions

View file

@ -1570,6 +1570,12 @@ var PDFView = {
for (i = 0, ii = this.pages.length; i < ii; ++i) {
this.pages[i].beforePrint();
}
//#if (FIREFOX || MOZCENTRAL)
// FirefoxCom.request('reportTelemetry', JSON.stringify({
// type: 'print'
// }));
//#endif
},
afterPrint: function pdfViewSetupAfterPrint() {