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

Unified Diff: chrome/browser/ui/webui/print_preview_ui.h

Issue 7740005: Print preview not showing if default print is invalid. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 4 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
Index: chrome/browser/ui/webui/print_preview_ui.h
diff --git a/chrome/browser/ui/webui/print_preview_ui.h b/chrome/browser/ui/webui/print_preview_ui.h
index 8778c9b00eef2b61b142c4abbbca16bb1afc068e..e0c551cab2ad431e034ce7c7f720b3cc406c9c06 100644
--- a/chrome/browser/ui/webui/print_preview_ui.h
+++ b/chrome/browser/ui/webui/print_preview_ui.h
@@ -96,6 +96,10 @@ class PrintPreviewUI : public ChromeWebUI {
// Notifies the Web UI renderer that file selection has been cancelled.
void OnFileSelectionCancelled();
+ // Notifies the Web UI that no printer is installed, or the settings of
+ // default printer is invalid.
+ void OnInvalidDefaultPrinter();
+
private:
// Returns the Singleton instance of the PrintPreviewDataService.
PrintPreviewDataService* print_preview_data_service();

Powered by Google App Engine
This is Rietveld 408576698