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

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

Issue 2715243009: MD Settings: Add placeholder text when adding/editing a content exception. (Closed)
Patch Set: Nit. 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/resources/settings/site_settings/edit_exception_dialog.html ('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 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 {"searchEnginesManageExtension", 1538 {"searchEnginesManageExtension",
1539 IDS_SETTINGS_SEARCH_ENGINES_MANAGE_EXTENSION}, 1539 IDS_SETTINGS_SEARCH_ENGINES_MANAGE_EXTENSION},
1540 }; 1540 };
1541 AddLocalizedStringsBulk(html_source, localized_strings, 1541 AddLocalizedStringsBulk(html_source, localized_strings,
1542 arraysize(localized_strings)); 1542 arraysize(localized_strings));
1543 } 1543 }
1544 1544
1545 void AddSiteSettingsStrings(content::WebUIDataSource* html_source, 1545 void AddSiteSettingsStrings(content::WebUIDataSource* html_source,
1546 Profile* profile) { 1546 Profile* profile) {
1547 LocalizedString localized_strings[] = { 1547 LocalizedString localized_strings[] = {
1548 {"addSite", IDS_SETTINGS_ADD_SITE},
1549 {"addSiteExceptionPlaceholder",
1550 IDS_SETTINGS_ADD_SITE_EXCEPTION_PLACEHOLDER},
1551 {"addSiteLink", IDS_SETTINGS_ADD_SITE_LINK},
1548 {"addSiteTitle", IDS_SETTINGS_ADD_SITE_TITLE}, 1552 {"addSiteTitle", IDS_SETTINGS_ADD_SITE_TITLE},
1549 {"addSiteLink", IDS_SETTINGS_ADD_SITE_LINK},
1550 {"addSite", IDS_SETTINGS_ADD_SITE},
1551 {"cookieAppCache", IDS_SETTINGS_COOKIES_APPLICATION_CACHE}, 1553 {"cookieAppCache", IDS_SETTINGS_COOKIES_APPLICATION_CACHE},
1552 {"cookieCacheStorage", IDS_SETTINGS_COOKIES_CACHE_STORAGE}, 1554 {"cookieCacheStorage", IDS_SETTINGS_COOKIES_CACHE_STORAGE},
1553 {"cookieChannelId", IDS_SETTINGS_COOKIES_CHANNEL_ID}, 1555 {"cookieChannelId", IDS_SETTINGS_COOKIES_CHANNEL_ID},
1554 {"cookieDatabaseStorage", IDS_SETTINGS_COOKIES_DATABASE_STORAGE}, 1556 {"cookieDatabaseStorage", IDS_SETTINGS_COOKIES_DATABASE_STORAGE},
1555 {"cookieFileSystem", IDS_SETTINGS_COOKIES_FILE_SYSTEM}, 1557 {"cookieFileSystem", IDS_SETTINGS_COOKIES_FILE_SYSTEM},
1556 {"cookieFlashLso", IDS_SETTINGS_COOKIES_FLASH_LSO}, 1558 {"cookieFlashLso", IDS_SETTINGS_COOKIES_FLASH_LSO},
1557 {"cookieLocalStorage", IDS_SETTINGS_COOKIES_LOCAL_STORAGE}, 1559 {"cookieLocalStorage", IDS_SETTINGS_COOKIES_LOCAL_STORAGE},
1558 {"cookieMediaLicense", IDS_SETTINGS_COOKIES_MEDIA_LICENSE}, 1560 {"cookieMediaLicense", IDS_SETTINGS_COOKIES_MEDIA_LICENSE},
1559 {"cookiePlural", IDS_SETTINGS_COOKIES_PLURAL_COOKIES}, 1561 {"cookiePlural", IDS_SETTINGS_COOKIES_PLURAL_COOKIES},
1560 {"cookieServiceWorker", IDS_SETTINGS_COOKIES_SERVICE_WORKER}, 1562 {"cookieServiceWorker", IDS_SETTINGS_COOKIES_SERVICE_WORKER},
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1963 1965
1964 #if defined(OS_CHROMEOS) 1966 #if defined(OS_CHROMEOS)
1965 chromeos::network_element::AddLocalizedStrings(html_source); 1967 chromeos::network_element::AddLocalizedStrings(html_source);
1966 #endif 1968 #endif
1967 policy_indicator::AddLocalizedStrings(html_source); 1969 policy_indicator::AddLocalizedStrings(html_source);
1968 1970
1969 html_source->SetJsonPath(kLocalizedStringsFile); 1971 html_source->SetJsonPath(kLocalizedStringsFile);
1970 } 1972 }
1971 1973
1972 } // namespace settings 1974 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/site_settings/edit_exception_dialog.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698