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

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

Issue 1031293004: Fix ctrl+shift+p for PDF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/pdf/pdf.js
diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js
index c652ca4f3ad0065447aa2a45c19b8c7517bbb633..4fae2314f21249cabd43d70200848ed67a8c3011 100644
--- a/chrome/browser/resources/pdf/pdf.js
+++ b/chrome/browser/resources/pdf/pdf.js
@@ -313,13 +313,6 @@ PDFViewer.prototype = {
e.preventDefault();
}
return;
- case 80: // p key.
- if (e.ctrlKey || e.metaKey) {
- this.print_();
- // Since we do the printing of the page.
- e.preventDefault();
- }
- return;
case 219: // left bracket.
if (e.ctrlKey)
this.rotateCounterClockwise_();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698