| Index: chrome/browser/resources/pdf/pdf.js
|
| diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js
|
| index e47de3a95ade085a849960edf11893792c5254ea..60384e5db6e1fe6a49a7d6fd4bac41e6c537691f 100644
|
| --- a/chrome/browser/resources/pdf/pdf.js
|
| +++ b/chrome/browser/resources/pdf/pdf.js
|
| @@ -35,6 +35,8 @@ PDFViewer.MIN_TOOLBAR_OFFSET = 15;
|
| * document.
|
| */
|
| function PDFViewer() {
|
| + this.loaded = false;
|
| +
|
| // The sizer element is placed behind the plugin element to cause scrollbars
|
| // to be displayed in the window. It is sized according to the document size
|
| // of the pdf and zoom level.
|
| @@ -256,6 +258,7 @@ PDFViewer.prototype = {
|
| }
|
| } else if (progress == 100) {
|
| // Document load complete.
|
| + this.loaded = true;
|
| var loadEvent = new Event('pdfload');
|
| window.dispatchEvent(loadEvent);
|
| this.sendScriptingMessage_({
|
|
|