Index: chrome/browser/resources/pdf/pdf.js |
diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js |
index 23d9bbed4d1c6e2d674267d5e3abfdd3fb74adc9..5c71f7d8a799b3094f11f609c60871fc04c4454b 100644 |
--- a/chrome/browser/resources/pdf/pdf.js |
+++ b/chrome/browser/resources/pdf/pdf.js |
@@ -436,6 +436,8 @@ PDFViewer.prototype = { |
this.passwordScreen_.active = false; |
} |
} else if (progress == 100) { |
+ if (this.isMaterial_) |
+ this.uiManager_.showUi(); |
Sam McNally
2015/03/02 02:01:01
How about setting the initial timeout in the const
raymes
2015/03/02 02:23:15
Done.
|
// Document load complete. |
if (this.lastViewportPosition_) |
this.viewport_.position = this.lastViewportPosition_; |