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 fb4d3ee53a3d7d19b7c918089fcc09b3de7097a1..6ca0836947c55ec15eb888cc65f461bce88e8b60 100644 |
| --- a/chrome/browser/resources/pdf/pdf.js |
| +++ b/chrome/browser/resources/pdf/pdf.js |
| @@ -252,6 +252,13 @@ PDFViewer.prototype = { |
| }); |
| } |
| return; |
| + case 71: // g key. |
| + if (this.isMaterial_ && (e.ctrlKey || e.metaKey)) { |
| + this.pageIndicator_.select(); |
| + // Since this is bound to Find Text. |
|
raymes
2015/02/01 23:47:02
// To prevent the default "find text" behavior in
Alexandre Carlton
2015/02/02 00:05:32
Done.
|
| + e.preventDefault(); |
| + } |
| + return; |
| case 80: // p key. |
| if (e.ctrlKey || e.metaKey) { |
| this.print_(); |