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

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

Issue 885813003: OOP PDF: Allow print preview to handle key events when the plugin has focus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « chrome/browser/resources/print_preview/previewarea/preview_area.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/print_preview/print_preview.js
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js
index 3e48478d4c184a4616409c884ce10bbe81af496b..3e7cd383401f85cf1f190b3911ceb7e074d2ad18 100644
--- a/chrome/browser/resources/print_preview/print_preview.js
+++ b/chrome/browser/resources/print_preview/print_preview.js
@@ -412,6 +412,7 @@ cr.define('print_preview', function() {
this.onCancelButtonClick_.bind(this));
this.tracker.add(window, 'keydown', this.onKeyDown_.bind(this));
+ this.previewArea_.setPluginKeyEventCallback(this.onKeyDown_.bind(this));
this.tracker.add(
this.destinationSettings_,
« no previous file with comments | « chrome/browser/resources/print_preview/previewarea/preview_area.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698