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

Unified Diff: chrome/renderer/printing/print_web_view_helper.cc

Issue 146963004: Exclude print_preview resources for platforms that don't use it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 11 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
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/printing/print_web_view_helper.cc
diff --git a/chrome/renderer/printing/print_web_view_helper.cc b/chrome/renderer/printing/print_web_view_helper.cc
index 66ec1068efc0eaa3365ff2dab937b3f6640e74f9..97ce9459c56f8e9d0b1357837386ba1bc5cdd857 100644
--- a/chrome/renderer/printing/print_web_view_helper.cc
+++ b/chrome/renderer/printing/print_web_view_helper.cc
@@ -1410,7 +1410,7 @@ bool PrintWebViewHelper::CalculateNumberOfPages(blink::WebFrame* frame,
notify_browser_of_print_failure_ = false;
render_view()->RunModalAlertDialog(
frame,
- l10n_util::GetStringUTF16(IDS_PRINT_PREVIEW_INVALID_PRINTER_SETTINGS));
+ l10n_util::GetStringUTF16(IDS_PRINT_INVALID_PRINTER_SETTINGS));
return false;
}
@@ -1475,7 +1475,7 @@ bool PrintWebViewHelper::UpdatePrintSettings(
render_view()->RunModalAlertDialog(
print_frame,
l10n_util::GetStringUTF16(
- IDS_PRINT_PREVIEW_INVALID_PRINTER_SETTINGS));
+ IDS_PRINT_INVALID_PRINTER_SETTINGS));
}
}
return false;
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698