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

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

Issue 7550063: Print Preview: Handle a crashed initiator tab by showing a message in PP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments 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 5a8db93c25e6b1179739f946e59b1c8ea5447354..bc4d6948305da1ba462e1a9469d6cf33b8c9a5cc 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("initiatorTabCrashed",
+ IDS_PRINT_PREVIEW_INITIATOR_TAB_CRASHED);
AddLocalizedString("initiatorTabClosed",
IDS_PRINT_PREVIEW_INITIATOR_TAB_CLOSED);
AddLocalizedString("reopenPage", IDS_PRINT_PREVIEW_REOPEN_PAGE);

Powered by Google App Engine
This is Rietveld 408576698