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

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: rebased 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/ui/webui/settings/font_handler.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 {"exampleDotCom", IDS_SETTINGS_EXAMPLE_DOT_COM}, 253 {"exampleDotCom", IDS_SETTINGS_EXAMPLE_DOT_COM},
254 {"getThemes", IDS_SETTINGS_THEMES}, 254 {"getThemes", IDS_SETTINGS_THEMES},
255 {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME}, 255 {"resetToDefaultTheme", IDS_SETTINGS_RESET_TO_DEFAULT_THEME},
256 {"showHomeButton", IDS_SETTINGS_SHOW_HOME_BUTTON}, 256 {"showHomeButton", IDS_SETTINGS_SHOW_HOME_BUTTON},
257 {"showBookmarksBar", IDS_SETTINGS_SHOW_BOOKMARKS_BAR}, 257 {"showBookmarksBar", IDS_SETTINGS_SHOW_BOOKMARKS_BAR},
258 {"homePageNtp", IDS_SETTINGS_HOME_PAGE_NTP}, 258 {"homePageNtp", IDS_SETTINGS_HOME_PAGE_NTP},
259 {"other", IDS_SETTINGS_OTHER}, 259 {"other", IDS_SETTINGS_OTHER},
260 {"changeHomePage", IDS_SETTINGS_CHANGE_HOME_PAGE}, 260 {"changeHomePage", IDS_SETTINGS_CHANGE_HOME_PAGE},
261 {"themesGalleryUrl", IDS_THEMES_GALLERY_URL}, 261 {"themesGalleryUrl", IDS_THEMES_GALLERY_URL},
262 {"chooseFromWebStore", IDS_SETTINGS_WEB_STORE}, 262 {"chooseFromWebStore", IDS_SETTINGS_WEB_STORE},
263 {"chooseFontsAndEncoding", IDS_SETTINGS_CHOOSE_FONTS_AND_ENCODING}, 263 {"chooseFonts", IDS_SETTINGS_CHOOSE_FONTS},
264 #if defined(OS_CHROMEOS) 264 #if defined(OS_CHROMEOS)
265 {"openWallpaperApp", IDS_SETTINGS_OPEN_WALLPAPER_APP}, 265 {"openWallpaperApp", IDS_SETTINGS_OPEN_WALLPAPER_APP},
266 {"setWallpaper", IDS_SETTINGS_SET_WALLPAPER}, 266 {"setWallpaper", IDS_SETTINGS_SET_WALLPAPER},
267 #endif 267 #endif
268 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) 268 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
269 {"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS}, 269 {"showWindowDecorations", IDS_SHOW_WINDOW_DECORATIONS},
270 #endif 270 #endif
271 }; 271 };
272 AddLocalizedStringsBulk(html_source, localized_strings, 272 AddLocalizedStringsBulk(html_source, localized_strings,
273 arraysize(localized_strings)); 273 arraysize(localized_strings));
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1336 {"webContent", IDS_SETTINGS_WEB_CONTENT}, 1336 {"webContent", IDS_SETTINGS_WEB_CONTENT},
1337 {"pageZoom", IDS_SETTINGS_PAGE_ZOOM_LABEL}, 1337 {"pageZoom", IDS_SETTINGS_PAGE_ZOOM_LABEL},
1338 {"fontSize", IDS_SETTINGS_FONT_SIZE_LABEL}, 1338 {"fontSize", IDS_SETTINGS_FONT_SIZE_LABEL},
1339 {"verySmall", IDS_SETTINGS_VERY_SMALL_FONT}, 1339 {"verySmall", IDS_SETTINGS_VERY_SMALL_FONT},
1340 {"small", IDS_SETTINGS_SMALL_FONT}, 1340 {"small", IDS_SETTINGS_SMALL_FONT},
1341 {"medium", IDS_SETTINGS_MEDIUM_FONT}, 1341 {"medium", IDS_SETTINGS_MEDIUM_FONT},
1342 {"large", IDS_SETTINGS_LARGE_FONT}, 1342 {"large", IDS_SETTINGS_LARGE_FONT},
1343 {"veryLarge", IDS_SETTINGS_VERY_LARGE_FONT}, 1343 {"veryLarge", IDS_SETTINGS_VERY_LARGE_FONT},
1344 {"custom", IDS_SETTINGS_CUSTOM}, 1344 {"custom", IDS_SETTINGS_CUSTOM},
1345 {"customizeFonts", IDS_SETTINGS_CUSTOMIZE_FONTS}, 1345 {"customizeFonts", IDS_SETTINGS_CUSTOMIZE_FONTS},
1346 {"fontsAndEncoding", IDS_SETTINGS_FONTS_AND_ENCODING}, 1346 {"fonts", IDS_SETTINGS_FONTS},
1347 {"standardFont", IDS_SETTINGS_STANDARD_FONT_LABEL}, 1347 {"standardFont", IDS_SETTINGS_STANDARD_FONT_LABEL},
1348 {"serifFont", IDS_SETTINGS_SERIF_FONT_LABEL}, 1348 {"serifFont", IDS_SETTINGS_SERIF_FONT_LABEL},
1349 {"sansSerifFont", IDS_SETTINGS_SANS_SERIF_FONT_LABEL}, 1349 {"sansSerifFont", IDS_SETTINGS_SANS_SERIF_FONT_LABEL},
1350 {"fixedWidthFont", IDS_SETTINGS_FIXED_WIDTH_FONT_LABEL}, 1350 {"fixedWidthFont", IDS_SETTINGS_FIXED_WIDTH_FONT_LABEL},
1351 {"minimumFont", IDS_SETTINGS_MINIMUM_FONT_SIZE_LABEL}, 1351 {"minimumFont", IDS_SETTINGS_MINIMUM_FONT_SIZE_LABEL},
1352 {"encoding", IDS_SETTINGS_ENCODING_LABEL},
1353 {"tiny", IDS_SETTINGS_TINY_FONT_SIZE}, 1352 {"tiny", IDS_SETTINGS_TINY_FONT_SIZE},
1354 {"huge", IDS_SETTINGS_HUGE_FONT_SIZE}, 1353 {"huge", IDS_SETTINGS_HUGE_FONT_SIZE},
1355 {"loremIpsum", IDS_SETTINGS_LOREM_IPSUM}, 1354 {"loremIpsum", IDS_SETTINGS_LOREM_IPSUM},
1356 {"loading", IDS_SETTINGS_LOADING}, 1355 {"loading", IDS_SETTINGS_LOADING},
1357 {"advancedFontSettings", IDS_SETTINGS_ADVANCED_FONT_SETTINGS}, 1356 {"advancedFontSettings", IDS_SETTINGS_ADVANCED_FONT_SETTINGS},
1358 {"openAdvancedFontSettings", IDS_SETTINGS_OPEN_ADVANCED_FONT_SETTINGS}, 1357 {"openAdvancedFontSettings", IDS_SETTINGS_OPEN_ADVANCED_FONT_SETTINGS},
1359 {"requiresWebStoreExtension", IDS_SETTINGS_REQUIRES_WEB_STORE_EXTENSION}, 1358 {"requiresWebStoreExtension", IDS_SETTINGS_REQUIRES_WEB_STORE_EXTENSION},
1360 {"quickBrownFox", IDS_SETTINGS_QUICK_BROWN_FOX}, 1359 {"quickBrownFox", IDS_SETTINGS_QUICK_BROWN_FOX},
1361 }; 1360 };
1362 AddLocalizedStringsBulk(html_source, localized_strings, 1361 AddLocalizedStringsBulk(html_source, localized_strings,
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
1435 #endif 1434 #endif
1436 AddUsersStrings(html_source); 1435 AddUsersStrings(html_source);
1437 AddWebContentStrings(html_source); 1436 AddWebContentStrings(html_source);
1438 1437
1439 policy_indicator::AddLocalizedStrings(html_source); 1438 policy_indicator::AddLocalizedStrings(html_source);
1440 1439
1441 html_source->SetJsonPath(kLocalizedStringsFile); 1440 html_source->SetJsonPath(kLocalizedStringsFile);
1442 } 1441 }
1443 1442
1444 } // namespace settings 1443 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/font_handler.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698