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

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 2304673002: [CUPS] Implelment Manufacturer and Model Dialog. (Closed)
Patch Set: Address michaelpg@'s comment. Rebase. Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/settings/printing_page/cups_add_printer_dialog_util.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 {"printerProtocolIpp", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_IPP}, 1084 {"printerProtocolIpp", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_IPP},
1085 {"printerProtocolIpps", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_IPPS}, 1085 {"printerProtocolIpps", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_IPPS},
1086 {"printerProtocolHttp", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_HTTP}, 1086 {"printerProtocolHttp", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_HTTP},
1087 {"printerProtocolHttps", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_HTTPS}, 1087 {"printerProtocolHttps", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_HTTPS},
1088 {"printerProtocolAppSocket", 1088 {"printerProtocolAppSocket",
1089 IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_APP_SOCKET}, 1089 IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_APP_SOCKET},
1090 {"printerProtocolLpd", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_LPD}, 1090 {"printerProtocolLpd", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_LPD},
1091 {"printerProtocolUsb", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_USB}, 1091 {"printerProtocolUsb", IDS_SETTINGS_PRINTING_CUPS_PRINTER_PROTOCOL_USB},
1092 {"printerConfiguringMessage", 1092 {"printerConfiguringMessage",
1093 IDS_SETTINGS_PRINTING_CUPS_PRINTER_CONFIGURING_MESSAGE}, 1093 IDS_SETTINGS_PRINTING_CUPS_PRINTER_CONFIGURING_MESSAGE},
1094 {"searchingPrinter", IDS_SETTINGS_PRINTING_CUPS_PRINTER_SEARCHING_PRINTER},
1095 {"printerNotFound", IDS_SETTINGS_PRINTING_CUPS_PRINTER_NOT_FOUND_PRINTER},
1096 {"printerFound", IDS_SETTINGS_PRINTING_CUPS_PRINTER_FOUND_PRINTER},
1097 {"selectManufacturerModelMessage",
1098 IDS_SETTINGS_PRINTING_CUPS_PRINTER_SELECT_MANUFACTURER_MODEL},
1099 {"printerManufacturer", IDS_SETTINGS_PRINTING_CUPS_PRINTER_MANUFACTURER},
1094 #endif 1100 #endif
1095 }; 1101 };
1096 AddLocalizedStringsBulk(html_source, localized_strings, 1102 AddLocalizedStringsBulk(html_source, localized_strings,
1097 arraysize(localized_strings)); 1103 arraysize(localized_strings));
1098 1104
1099 html_source->AddString("devicesUrl", chrome::kChromeUIDevicesURL); 1105 html_source->AddString("devicesUrl", chrome::kChromeUIDevicesURL);
1100 html_source->AddString("printingCloudPrintLearnMoreUrl", 1106 html_source->AddString("printingCloudPrintLearnMoreUrl",
1101 chrome::kCloudPrintLearnMoreURL); 1107 chrome::kCloudPrintLearnMoreURL);
1102 1108
1103 #if defined(OS_CHROMEOS) 1109 #if defined(OS_CHROMEOS)
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1598 #endif 1604 #endif
1599 AddUsersStrings(html_source); 1605 AddUsersStrings(html_source);
1600 AddWebContentStrings(html_source); 1606 AddWebContentStrings(html_source);
1601 1607
1602 policy_indicator::AddLocalizedStrings(html_source); 1608 policy_indicator::AddLocalizedStrings(html_source);
1603 1609
1604 html_source->SetJsonPath(kLocalizedStringsFile); 1610 html_source->SetJsonPath(kLocalizedStringsFile);
1605 } 1611 }
1606 1612
1607 } // namespace settings 1613 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/printing_page/cups_add_printer_dialog_util.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698