Commit 78b99049 authored by raymes's avatar raymes Committed by Commit bot

Fix ctrl+shift+p for PDF

Currentl we are intercepting ctrl+p on PDF to print, which is interfering
with ctrl+shift+p. There is no need to intercept either of these commands
anymore, the default handling should work correctly.

BUG=466600

Review URL: https://codereview.chromium.org/1031293004

Cr-Commit-Position: refs/heads/master@{#322328}
parent 8e0cb8aa
...@@ -313,13 +313,6 @@ PDFViewer.prototype = { ...@@ -313,13 +313,6 @@ PDFViewer.prototype = {
e.preventDefault(); e.preventDefault();
} }
return; 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. case 219: // left bracket.
if (e.ctrlKey) if (e.ctrlKey)
this.rotateCounterClockwise_(); this.rotateCounterClockwise_();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment