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

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

Issue 473553002: Add a button to Print Preivew to open printer's Advanced options dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address cl comments. Created 6 years, 4 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/settings/advanced_options_settings.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 167a57d2ab798334cd0fade0a52b6400dec598ce..4c2676addb185fac3adf011ac408a8bb685164d2 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
@@ -339,6 +339,10 @@ content::WebUIDataSource* CreatePrintPreviewUISource() {
"advancedSettingsDialogConfirm",
IDS_PRINT_PREVIEW_ADVANCED_SETTINGS_DIALOG_CONFIRM);
source->AddLocalizedString("cancel", IDS_CANCEL);
+ source->AddLocalizedString("advancedOptionsLabel",
+ IDS_PRINT_PREVIEW_ADVANCED_OPTIONS_LABEL);
+ source->AddLocalizedString("showAdvancedOptions",
+ IDS_PRINT_PREVIEW_SHOW_ADVANCED_OPTIONS);
source->SetJsonPath("strings.js");
source->AddResourcePath("print_preview.js", IDR_PRINT_PREVIEW_JS);
« no previous file with comments | « chrome/browser/resources/print_preview/settings/advanced_options_settings.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698