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

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 d445113c4ee2bf7bdb5452aa9d53fbdedd2460c3..9a5f7d241d991269e81a03815c34a414225aa515 100644
--- a/chrome/browser/ui/webui/print_preview_data_source.cc
+++ b/chrome/browser/ui/webui/print_preview_data_source.cc
@@ -49,6 +49,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