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

Unified Diff: android_webview/renderer/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 | « no previous file | build/common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/renderer/print_web_view_helper.cc
diff --git a/android_webview/renderer/print_web_view_helper.cc b/android_webview/renderer/print_web_view_helper.cc
index dbf59e1d040013386e1c2512a8f478a158c08b4b..5122e6e7c365fb92ed238f45362af3ce8157c0f7 100644
--- a/android_webview/renderer/print_web_view_helper.cc
+++ b/android_webview/renderer/print_web_view_helper.cc
@@ -1413,7 +1413,7 @@ bool PrintWebViewHelper::CalculateNumberOfPages(blink::WebFrame* frame,
// TODO(sgurun) android_webview hack
render_view()->RunModalAlertDialog(
frame,
- l10n_util::GetStringUTF16(IDS_PRINT_PREVIEW_INVALID_PRINTER_SETTINGS));
+ l10n_util::GetStringUTF16(IDS_PRINT_INVALID_PRINTER_SETTINGS));
#endif // !defined(OS_ANDROID)
return false;
}
@@ -1481,7 +1481,7 @@ bool PrintWebViewHelper::UpdatePrintSettings(
render_view()->RunModalAlertDialog(
print_frame,
l10n_util::GetStringUTF16(
- IDS_PRINT_PREVIEW_INVALID_PRINTER_SETTINGS));
+ IDS_PRINT_INVALID_PRINTER_SETTINGS));
}
#endif // !defined(OS_ANDROID)
}
« no previous file with comments | « no previous file | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698