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

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

Issue 399973004: Advanced printing destination settings modal dialog (non-functional yet, just the skeleton). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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_settings/advanced_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 601e24328b242b15019a3412588d40bfdc61868c..5fa137c76637b4edf8892e224cbe73924de7a83f 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc
@@ -166,7 +166,6 @@ content::WebUIDataSource* CreatePrintPreviewUISource() {
IDS_PRINT_INVALID_PRINTER_SETTINGS);
source->AddLocalizedString("printButton", IDS_PRINT_PREVIEW_PRINT_BUTTON);
source->AddLocalizedString("saveButton", IDS_PRINT_PREVIEW_SAVE_BUTTON);
- source->AddLocalizedString("cancelButton", IDS_PRINT_PREVIEW_CANCEL_BUTTON);
source->AddLocalizedString("printing", IDS_PRINT_PREVIEW_PRINTING);
source->AddLocalizedString("printingToPDFInProgress",
IDS_PRINT_PREVIEW_PRINTING_TO_PDF_IN_PROGRESS);
@@ -276,7 +275,6 @@ content::WebUIDataSource* CreatePrintPreviewUISource() {
IDS_PRINT_PREVIEW_MEDIA_SIZE_LABEL);
source->AddLocalizedString("destinationSearchTitle",
IDS_PRINT_PREVIEW_DESTINATION_SEARCH_TITLE);
- source->AddLocalizedString("userInfo", IDS_PRINT_PREVIEW_USER_INFO);
source->AddLocalizedString("accountSelectTitle",
IDS_PRINT_PREVIEW_ACCOUNT_SELECT_TITLE);
source->AddLocalizedString("addAccountTitle",
@@ -330,6 +328,15 @@ content::WebUIDataSource* CreatePrintPreviewUISource() {
IDS_PRINT_PREVIEW_COULD_NOT_PRINT);
source->AddLocalizedString("registerPromoButtonText",
IDS_PRINT_PREVIEW_REGISTER_PROMO_BUTTON_TEXT);
+ source->AddLocalizedString(
+ "advancedSettingsSearchBoxPlaceholder",
+ IDS_PRINT_PREVIEW_ADVANCED_SETTINGS_SEARCH_BOX_PLACEHOLDER);
+ source->AddLocalizedString("advancedSettingsDialogTitle",
+ IDS_PRINT_PREVIEW_ADVANCED_SETTINGS_DIALOG_TITLE);
+ source->AddLocalizedString(
+ "advancedSettingsDialogConfirm",
+ IDS_PRINT_PREVIEW_ADVANCED_SETTINGS_DIALOG_CONFIRM);
+ source->AddLocalizedString("cancel", IDS_CANCEL);
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_settings/advanced_settings.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698