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

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

Issue 1880063004: [MD settings] drawer menu icon into title bar; icon colors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup 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
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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void AddCommonStrings(content::WebUIDataSource* html_source) { 62 void AddCommonStrings(content::WebUIDataSource* html_source) {
63 LocalizedString localized_strings[] = { 63 LocalizedString localized_strings[] = {
64 {"add", IDS_ADD}, 64 {"add", IDS_ADD},
65 {"cancel", IDS_CANCEL}, 65 {"cancel", IDS_CANCEL},
66 {"disable", IDS_DISABLE}, 66 {"disable", IDS_DISABLE},
67 {"learnMore", IDS_LEARN_MORE}, 67 {"learnMore", IDS_LEARN_MORE},
68 {"ok", IDS_OK}, 68 {"ok", IDS_OK},
69 {"save", IDS_SAVE}, 69 {"save", IDS_SAVE},
70 {"advancedPageTitle", IDS_SETTINGS_ADVANCED}, 70 {"advancedPageTitle", IDS_SETTINGS_ADVANCED},
71 {"basicPageTitle", IDS_SETTINGS_BASIC}, 71 {"basicPageTitle", IDS_SETTINGS_BASIC},
72 {"internalSearch", IDS_SETTINGS_INTERNAL_SEARCH},
72 {"settings", IDS_SETTINGS_SETTINGS}, 73 {"settings", IDS_SETTINGS_SETTINGS},
73 {"restart", IDS_SETTINGS_RESTART}, 74 {"restart", IDS_SETTINGS_RESTART},
74 }; 75 };
75 AddLocalizedStringsBulk(html_source, localized_strings, 76 AddLocalizedStringsBulk(html_source, localized_strings,
76 arraysize(localized_strings)); 77 arraysize(localized_strings));
77 } 78 }
78 79
79 void AddA11yStrings(content::WebUIDataSource* html_source) { 80 void AddA11yStrings(content::WebUIDataSource* html_source) {
80 LocalizedString localized_strings[] = { 81 LocalizedString localized_strings[] = {
81 {"a11yPageTitle", IDS_SETTINGS_ACCESSIBILITY}, 82 {"a11yPageTitle", IDS_SETTINGS_ACCESSIBILITY},
(...skipping 856 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

Powered by Google App Engine
This is Rietveld 408576698