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

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

Issue 8425008: PrintPreview:[MAC] Added "Open PDF In Preview" option to open the pdf in native preview app. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 9 years, 1 month 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
Index: chrome/browser/resources/print_preview/preview_area.js
diff --git a/chrome/browser/resources/print_preview/preview_area.js b/chrome/browser/resources/print_preview/preview_area.js
index 3a86cefac7d2ab132693e655127a022bd3ab005d..cffa30d8c4ac67de58f551c04f0a3aa60fb36906 100644
--- a/chrome/browser/resources/print_preview/preview_area.js
+++ b/chrome/browser/resources/print_preview/preview_area.js
@@ -195,6 +195,14 @@ cr.define('print_preview', function() {
},
/**
+ * Clears the custom message with dots animation.
+ */
+ clearCustomMessageWithDots: function() {
+ this.customMessageWithDots_.innerHTML = '';
+ this.customMessageWithDots_.hidden = true;
+ },
+
+ /**
* Display an error message in the center of the preview area.
* @param {string} errorMessage The error message to be displayed.
*/
@@ -227,6 +235,7 @@ cr.define('print_preview', function() {
this.errorButton.hidden = false;
$('system-dialog-throbber').hidden = true;
$('native-print-dialog-throbber').hidden = true;
+ $('open-preview-app-throbber').hidden = true;
this.displayErrorMessageAndNotify(errorMessage);
}
};

Powered by Google App Engine
This is Rietveld 408576698