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

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

Issue 1877923002: [MD settings] advanced font settings extension link (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review changes Created 4 years, 8 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') | 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/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 {"serifFont", IDS_SETTINGS_SERIF_FONT_LABEL}, 873 {"serifFont", IDS_SETTINGS_SERIF_FONT_LABEL},
874 {"sansSerifFont", IDS_SETTINGS_SANS_SERIF_FONT_LABEL}, 874 {"sansSerifFont", IDS_SETTINGS_SANS_SERIF_FONT_LABEL},
875 {"fixedWidthFont", IDS_SETTINGS_FIXED_WIDTH_FONT_LABEL}, 875 {"fixedWidthFont", IDS_SETTINGS_FIXED_WIDTH_FONT_LABEL},
876 {"minimumFont", IDS_SETTINGS_MINIMUM_FONT_SIZE_LABEL}, 876 {"minimumFont", IDS_SETTINGS_MINIMUM_FONT_SIZE_LABEL},
877 {"encoding", IDS_SETTINGS_ENCODING_LABEL}, 877 {"encoding", IDS_SETTINGS_ENCODING_LABEL},
878 {"tiny", IDS_SETTINGS_TINY_FONT_SIZE}, 878 {"tiny", IDS_SETTINGS_TINY_FONT_SIZE},
879 {"huge", IDS_SETTINGS_HUGE_FONT_SIZE}, 879 {"huge", IDS_SETTINGS_HUGE_FONT_SIZE},
880 {"loremIpsum", IDS_SETTINGS_LOREM_IPSUM}, 880 {"loremIpsum", IDS_SETTINGS_LOREM_IPSUM},
881 {"loading", IDS_SETTINGS_LOADING}, 881 {"loading", IDS_SETTINGS_LOADING},
882 {"advancedFontSettings", IDS_SETTINGS_ADVANCED_FONT_SETTINGS}, 882 {"advancedFontSettings", IDS_SETTINGS_ADVANCED_FONT_SETTINGS},
883 {"openAdvancedFontSettings", IDS_SETTINGS_OPEN_ADVANCED_FONT_SETTINGS},
883 {"requiresWebStoreExtension", IDS_SETTINGS_REQUIRES_WEB_STORE_EXTENSION}, 884 {"requiresWebStoreExtension", IDS_SETTINGS_REQUIRES_WEB_STORE_EXTENSION},
884 {"quickBrownFox", IDS_SETTINGS_QUICK_BROWN_FOX}, 885 {"quickBrownFox", IDS_SETTINGS_QUICK_BROWN_FOX},
885 }; 886 };
886 AddLocalizedStringsBulk(html_source, localized_strings, 887 AddLocalizedStringsBulk(html_source, localized_strings,
887 arraysize(localized_strings)); 888 arraysize(localized_strings));
888 } 889 }
889 890
890 } // namespace 891 } // namespace
891 892
892 void AddLocalizedStrings(content::WebUIDataSource* html_source, 893 void AddLocalizedStrings(content::WebUIDataSource* html_source,
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
938 #endif 939 #endif
939 AddUsersStrings(html_source); 940 AddUsersStrings(html_source);
940 AddWebContentStrings(html_source); 941 AddWebContentStrings(html_source);
941 942
942 policy_indicator::AddLocalizedStrings(html_source); 943 policy_indicator::AddLocalizedStrings(html_source);
943 944
944 html_source->SetJsonPath(kLocalizedStringsFile); 945 html_source->SetJsonPath(kLocalizedStringsFile);
945 } 946 }
946 947
947 } // namespace settings 948 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/font_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698