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..37d665c4fc7d3c0bba912f2ae1e18f7bc2aba12f 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,8 @@ cr.define('print_preview', function() { |
this.errorButton.hidden = false; |
$('system-dialog-throbber').hidden = true; |
$('native-print-dialog-throbber').hidden = true; |
+ if (cr.isMac) |
+ $('open-preview-app-throbber').hidden = true; |
this.displayErrorMessageAndNotify(errorMessage); |
} |
}; |