Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Unified Diff: trunk/src/chrome/browser/resources/pdf/pdf.js

Issue 346693002: Revert 278043 "Re-enable PDFExtensionTest.BasicPlugin" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | trunk/src/chrome/browser/resources/pdf/pdf_extension_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/resources/pdf/pdf.js
===================================================================
--- trunk/src/chrome/browser/resources/pdf/pdf.js (revision 278190)
+++ trunk/src/chrome/browser/resources/pdf/pdf.js (working copy)
@@ -35,8 +35,6 @@
* 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.
@@ -258,7 +256,6 @@
}
} else if (progress == 100) {
// Document load complete.
- this.loaded = true;
var loadEvent = new Event('pdfload');
window.dispatchEvent(loadEvent);
this.sendScriptingMessage_({
« no previous file with comments | « no previous file | trunk/src/chrome/browser/resources/pdf/pdf_extension_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698