Index: chrome/browser/resources/print_preview/print_header.js |
=================================================================== |
--- chrome/browser/resources/print_preview/print_header.js (revision 105532) |
+++ chrome/browser/resources/print_preview/print_header.js (working copy) |
@@ -51,6 +51,14 @@ |
}, |
/** |
+ * Enables the cancel button and attaches its keydown event listener. |
+ */ |
+ enableCancelButton: function() { |
+ window.onkeydown = onKeyDown; |
+ this.cancelButton_.disabled = false; |
+ }, |
+ |
+ /** |
* Disables the cancel button and removes its keydown event listener. |
*/ |
disableCancelButton: function() { |