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

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

Issue 2606043004: Perform printer setup on Chrome OS before selecting printer. (Closed)
Patch Set: fix nits Created 3 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_handler.cc ('k') | chrome/test/BUILD.gn » ('j') | 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 958dc15e5f43fe190511db95964f2a1166d08e06..df9b425910273f1beded7149f2741155bdee7415 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/ui/webui/print_preview/print_preview_ui.h"
#include <map>
+#include <utility>
#include <vector>
#include "base/feature_list.h"
@@ -50,8 +51,6 @@
#if defined(OS_CHROMEOS)
#include "base/command_line.h"
-#include "base/feature_list.h"
-#include "chrome/common/chrome_features.h"
#include "chrome/common/chrome_switches.h"
#endif
@@ -236,6 +235,9 @@ 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)
source->AddString(
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_handler.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698