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

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

Issue 2713243004: MD Settings: give Chrome logo an alt text (Closed)
Patch Set: Created 3 years, 9 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/ui/webui/set_as_default_browser_ui_win.cc ('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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 html_source->AddBoolean( 179 html_source->AddBoolean(
180 "showExperimentalA11yFeatures", 180 "showExperimentalA11yFeatures",
181 base::CommandLine::ForCurrentProcess()->HasSwitch( 181 base::CommandLine::ForCurrentProcess()->HasSwitch(
182 chromeos::switches::kEnableExperimentalAccessibilityFeatures)); 182 chromeos::switches::kEnableExperimentalAccessibilityFeatures));
183 #endif 183 #endif
184 } 184 }
185 185
186 void AddAboutStrings(content::WebUIDataSource* html_source) { 186 void AddAboutStrings(content::WebUIDataSource* html_source) {
187 LocalizedString localized_strings[] = { 187 LocalizedString localized_strings[] = {
188 {"aboutProductLogoAlt", IDS_SHORT_PRODUCT_LOGO_ALT_TEXT},
188 {"aboutPageTitle", IDS_SETTINGS_ABOUT_PROGRAM}, 189 {"aboutPageTitle", IDS_SETTINGS_ABOUT_PROGRAM},
189 #if defined(OS_CHROMEOS) 190 #if defined(OS_CHROMEOS)
190 {"aboutProductTitle", IDS_PRODUCT_OS_NAME}, 191 {"aboutProductTitle", IDS_PRODUCT_OS_NAME},
191 #else 192 #else
192 {"aboutProductTitle", IDS_PRODUCT_NAME}, 193 {"aboutProductTitle", IDS_PRODUCT_NAME},
193 #endif 194 #endif
194 {"aboutGetHelpUsingChrome", IDS_SETTINGS_GET_HELP_USING_CHROME}, 195 {"aboutGetHelpUsingChrome", IDS_SETTINGS_GET_HELP_USING_CHROME},
195 196
196 #if defined(GOOGLE_CHROME_BUILD) 197 #if defined(GOOGLE_CHROME_BUILD)
197 {"aboutReportAnIssue", IDS_SETTINGS_ABOUT_PAGE_REPORT_AN_ISSUE}, 198 {"aboutReportAnIssue", IDS_SETTINGS_ABOUT_PAGE_REPORT_AN_ISSUE},
(...skipping 1752 matching lines...) Expand 10 before | Expand all | Expand 10 after
1950 1951
1951 #if defined(OS_CHROMEOS) 1952 #if defined(OS_CHROMEOS)
1952 chromeos::network_element::AddLocalizedStrings(html_source); 1953 chromeos::network_element::AddLocalizedStrings(html_source);
1953 #endif 1954 #endif
1954 policy_indicator::AddLocalizedStrings(html_source); 1955 policy_indicator::AddLocalizedStrings(html_source);
1955 1956
1956 html_source->SetJsonPath(kLocalizedStringsFile); 1957 html_source->SetJsonPath(kLocalizedStringsFile);
1957 } 1958 }
1958 1959
1959 } // namespace settings 1960 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/set_as_default_browser_ui_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698