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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_ui.cc

Issue 2760753002: [CUPS] Implement the local CUPS printer setup waiting UI. (Closed)
Patch Set: Address dpapad@ and thestig@'s comments. Created 3 years, 9 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/resources/print_preview/search/destination_search.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/print_preview/print_preview_ui.cc
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
index b78c75dda004427eac79397f7c564a76aab0ce39..22a3a6fa4e92cb5f590db348d7a447e9986c3057 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
@@ -235,9 +235,6 @@ content::WebUIDataSource* CreatePrintPreviewUISource() {
source->AddLocalizedString(
"resolveExtensionUSBErrorMessage",
IDS_PRINT_PREVIEW_RESOLVE_EXTENSION_USB_ERROR_MESSAGE);
- source->AddLocalizedString(
- "resolveCrosPrinterMessage",
- IDS_PRINT_PREVIEW_RESOLVE_CROS_DESTINATION_MESSAGE);
const base::string16 shortcut_text(base::UTF8ToUTF16(kBasicPrintShortcut));
#if !defined(OS_CHROMEOS)
Lei Zhang 2017/03/30 23:26:02 Add the new strings here and change this to #if /
xdai1 2017/03/30 23:33:21 Done.
source->AddString(
@@ -381,6 +378,12 @@ content::WebUIDataSource* CreatePrintPreviewUISource() {
"groupPrinterSharingInviteText", IDS_PRINT_PREVIEW_GROUP_INVITE_TEXT);
source->AddLocalizedString(
"printerSharingInviteText", IDS_PRINT_PREVIEW_INVITE_TEXT);
+#if defined(OS_CHROMEOS)
+ source->AddLocalizedString("configuringInProgressText",
+ IDS_PRINT_CONFIGURING_IN_PROGRESS_TEXT);
+ source->AddLocalizedString("configuringFailedText",
+ IDS_PRINT_CONFIGURING_FAILED_TEXT);
+#endif
source->SetJsonPath("strings.js");
source->AddResourcePath("print_preview.js", IDR_PRINT_PREVIEW_JS);
« no previous file with comments | « chrome/browser/resources/print_preview/search/destination_search.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698