Chromium Code Reviews| Index: chrome/browser/resources/pdf/pdf.js |
| diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js |
| index a207c9ebb48abd42b682148002e214b8d8f1a221..acdeb4b8183941d3f60157f26a8b26e346c88e73 100644 |
| --- a/chrome/browser/resources/pdf/pdf.js |
| +++ b/chrome/browser/resources/pdf/pdf.js |
| @@ -246,6 +246,8 @@ PDFViewer.prototype = { |
| this.plugin_.postMessage({ |
| type: 'selectAll' |
| }); |
| + // Since we do selection ourselves. |
| + e.preventDefault(); |
| } |
| return; |
| case 80: // p key. |