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

Unified Diff: chrome/browser/ui/webui/print_preview_data_source.cc

Issue 7740005: Print preview not showing if default print is invalid. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Update per code review 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_data_source.cc
diff --git a/chrome/browser/ui/webui/print_preview_data_source.cc b/chrome/browser/ui/webui/print_preview_data_source.cc
index ed9bf950c9061b464b7df40d07fe7fcda7e30d81..1b19d695fc6ffb4b282a87ada9b66e6f30d8dbc1 100644
--- a/chrome/browser/ui/webui/print_preview_data_source.cc
+++ b/chrome/browser/ui/webui/print_preview_data_source.cc
@@ -36,6 +36,8 @@ PrintPreviewDataSource::PrintPreviewDataSource()
#endif
AddLocalizedString("launchNativeDialog", IDS_PRINT_PREVIEW_NATIVE_DIALOG);
AddLocalizedString("previewFailed", IDS_PRINT_PREVIEW_FAILED);
+ AddLocalizedString("invalidPrinterSettings",
+ IDS_PRINT_PREVIEW_INVALID_PRINTER_SETTINGS);
AddLocalizedString("initiatorTabCrashed",
IDS_PRINT_PREVIEW_INITIATOR_TAB_CRASHED);
AddLocalizedString("initiatorTabClosed",

Powered by Google App Engine
This is Rietveld 408576698