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

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

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 {"exampleDotCom", IDS_SETTINGS_EXAMPLE_DOT_COM}, 252 {"exampleDotCom", IDS_SETTINGS_EXAMPLE_DOT_COM},
253 {"getThemes", IDS_SETTINGS_THEMES}, 253 {"getThemes", IDS_SETTINGS_THEMES},
254 {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME}, 254 {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME},
255 {"showHomeButton", IDS_SETTINGS_SHOW_HOME_BUTTON}, 255 {"showHomeButton", IDS_SETTINGS_SHOW_HOME_BUTTON},
256 {"showBookmarksBar", IDS_SETTINGS_SHOW_BOOKMARKS_BAR}, 256 {"showBookmarksBar", IDS_SETTINGS_SHOW_BOOKMARKS_BAR},
257 {"homePageNtp", IDS_SETTINGS_HOME_PAGE_NTP}, 257 {"homePageNtp", IDS_SETTINGS_HOME_PAGE_NTP},
258 {"other", IDS_SETTINGS_OTHER}, 258 {"other", IDS_SETTINGS_OTHER},
259 {"changeHomePage", IDS_SETTINGS_CHANGE_HOME_PAGE}, 259 {"changeHomePage", IDS_SETTINGS_CHANGE_HOME_PAGE},
260 {"themesGalleryUrl", IDS_THEMES_GALLERY_URL}, 260 {"themesGalleryUrl", IDS_THEMES_GALLERY_URL},
261 {"chooseFromWebStore", IDS_SETTINGS_WEB_STORE}, 261 {"chooseFromWebStore", IDS_SETTINGS_WEB_STORE},
262 {"chooseFontsAndEncoding", IDS_SETTINGS_CHOOSE_FONTS_AND_ENCODING}, 262 {"chooseFonts", IDS_SETTINGS_CHOOSE_FONTS},
263 #if defined(OS_CHROMEOS) 263 #if defined(OS_CHROMEOS)
264 {"openWallpaperApp", IDS_SETTINGS_OPEN_WALLPAPER_APP}, 264 {"openWallpaperApp", IDS_SETTINGS_OPEN_WALLPAPER_APP},
265 {"setWallpaper", IDS_SETTINGS_SET_WALLPAPER}, 265 {"setWallpaper", IDS_SETTINGS_SET_WALLPAPER},
266 #endif 266 #endif
267 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 267 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
268 {"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS}, 268 {"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS},
269 #endif 269 #endif
270 }; 270 };
271 AddLocalizedStringsBulk(html_source, localized_strings, 271 AddLocalizedStringsBulk(html_source, localized_strings,
272 arraysize(localized_strings)); 272 arraysize(localized_strings));
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 {"webContent", IDS_SETTINGS_WEB_CONTENT}, 1329 {"webContent", IDS_SETTINGS_WEB_CONTENT},
1330 {"pageZoom", IDS_SETTINGS_PAGE_ZOOM_LABEL}, 1330 {"pageZoom", IDS_SETTINGS_PAGE_ZOOM_LABEL},
1331 {"fontSize", IDS_SETTINGS_FONT_SIZE_LABEL}, 1331 {"fontSize", IDS_SETTINGS_FONT_SIZE_LABEL},
1332 {"verySmall", IDS_SETTINGS_VERY_SMALL_FONT}, 1332 {"verySmall", IDS_SETTINGS_VERY_SMALL_FONT},
1333 {"small", IDS_SETTINGS_SMALL_FONT}, 1333 {"small", IDS_SETTINGS_SMALL_FONT},
1334 {"medium", IDS_SETTINGS_MEDIUM_FONT}, 1334 {"medium", IDS_SETTINGS_MEDIUM_FONT},
1335 {"large", IDS_SETTINGS_LARGE_FONT}, 1335 {"large", IDS_SETTINGS_LARGE_FONT},
1336 {"veryLarge", IDS_SETTINGS_VERY_LARGE_FONT}, 1336 {"veryLarge", IDS_SETTINGS_VERY_LARGE_FONT},
1337 {"custom", IDS_SETTINGS_CUSTOM}, 1337 {"custom", IDS_SETTINGS_CUSTOM},
1338 {"customizeFonts", IDS_SETTINGS_CUSTOMIZE_FONTS}, 1338 {"customizeFonts", IDS_SETTINGS_CUSTOMIZE_FONTS},
1339 {"fontsAndEncoding", IDS_SETTINGS_FONTS_AND_ENCODING}, 1339 {"fonts", IDS_SETTINGS_FONTS},
1340 {"standardFont", IDS_SETTINGS_STANDARD_FONT_LABEL}, 1340 {"standardFont", IDS_SETTINGS_STANDARD_FONT_LABEL},
1341 {"serifFont", IDS_SETTINGS_SERIF_FONT_LABEL}, 1341 {"serifFont", IDS_SETTINGS_SERIF_FONT_LABEL},
1342 {"sansSerifFont", IDS_SETTINGS_SANS_SERIF_FONT_LABEL}, 1342 {"sansSerifFont", IDS_SETTINGS_SANS_SERIF_FONT_LABEL},
1343 {"fixedWidthFont", IDS_SETTINGS_FIXED_WIDTH_FONT_LABEL}, 1343 {"fixedWidthFont", IDS_SETTINGS_FIXED_WIDTH_FONT_LABEL},
1344 {"minimumFont", IDS_SETTINGS_MINIMUM_FONT_SIZE_LABEL}, 1344 {"minimumFont", IDS_SETTINGS_MINIMUM_FONT_SIZE_LABEL},
1345 {"encoding", IDS_SETTINGS_ENCODING_LABEL},
1346 {"tiny", IDS_SETTINGS_TINY_FONT_SIZE}, 1345 {"tiny", IDS_SETTINGS_TINY_FONT_SIZE},
1347 {"huge", IDS_SETTINGS_HUGE_FONT_SIZE}, 1346 {"huge", IDS_SETTINGS_HUGE_FONT_SIZE},
1348 {"loremIpsum", IDS_SETTINGS_LOREM_IPSUM}, 1347 {"loremIpsum", IDS_SETTINGS_LOREM_IPSUM},
1349 {"loading", IDS_SETTINGS_LOADING}, 1348 {"loading", IDS_SETTINGS_LOADING},
1350 {"advancedFontSettings", IDS_SETTINGS_ADVANCED_FONT_SETTINGS}, 1349 {"advancedFontSettings", IDS_SETTINGS_ADVANCED_FONT_SETTINGS},
1351 {"openAdvancedFontSettings", IDS_SETTINGS_OPEN_ADVANCED_FONT_SETTINGS}, 1350 {"openAdvancedFontSettings", IDS_SETTINGS_OPEN_ADVANCED_FONT_SETTINGS},
1352 {"requiresWebStoreExtension", IDS_SETTINGS_REQUIRES_WEB_STORE_EXTENSION}, 1351 {"requiresWebStoreExtension", IDS_SETTINGS_REQUIRES_WEB_STORE_EXTENSION},
1353 {"quickBrownFox", IDS_SETTINGS_QUICK_BROWN_FOX}, 1352 {"quickBrownFox", IDS_SETTINGS_QUICK_BROWN_FOX},
1354 }; 1353 };
1355 AddLocalizedStringsBulk(html_source, localized_strings, 1354 AddLocalizedStringsBulk(html_source, localized_strings,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1428 #endif 1427 #endif
1429 AddUsersStrings(html_source); 1428 AddUsersStrings(html_source);
1430 AddWebContentStrings(html_source); 1429 AddWebContentStrings(html_source);
1431 1430
1432 policy_indicator::AddLocalizedStrings(html_source); 1431 policy_indicator::AddLocalizedStrings(html_source);
1433 1432
1434 html_source->SetJsonPath(kLocalizedStringsFile); 1433 html_source->SetJsonPath(kLocalizedStringsFile);
1435 } 1434 }
1436 1435
1437 } // namespace settings 1436 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698