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

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

Issue 1144983002: Introduce concept of provisional destinations to print preview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 6 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/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 6d6ffae07cb9e97e70167b35b724c76c24eb7b3b..43df8378aec1f7b3f78ec2215f4e396fb7901f26 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
@@ -210,6 +210,16 @@ content::WebUIDataSource* CreatePrintPreviewUISource() {
IDS_PRINT_PREVIEW_PAGE_LABEL_SINGULAR);
source->AddLocalizedString("printPreviewPageLabelPlural",
IDS_PRINT_PREVIEW_PAGE_LABEL_PLURAL);
+ source->AddLocalizedString("selectButton",
+ IDS_PRINT_PREVIEW_BUTTON_SELECT);
+ source->AddLocalizedString("goBackButton",
+ IDS_PRINT_PREVIEW_BUTTON_GO_BACK);
+ source->AddLocalizedString(
+ "resolveExtensionUSBPermissionMessage",
+ IDS_PRINT_PREVIEW_RESOLVE_EXTENSION_USB_PERMISSION_MESSAGE);
+ source->AddLocalizedString(
+ "resolveExtensionUSBErrorMessage",
+ IDS_PRINT_PREVIEW_RESOLVE_EXTENSION_USB_ERROR_MESSAGE);
const base::string16 shortcut_text(base::UTF8ToUTF16(kBasicPrintShortcut));
#if !defined(OS_CHROMEOS)
source->AddString(

Powered by Google App Engine
This is Rietveld 408576698