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

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

Issue 2716333002: Implement important sites dialog for desktop. (Closed)
Patch Set: remove favicon Created 3 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/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 {"clearDataHour", IDS_SETTINGS_CLEAR_DATA_HOUR}, 519 {"clearDataHour", IDS_SETTINGS_CLEAR_DATA_HOUR},
520 {"clearDataDay", IDS_SETTINGS_CLEAR_DATA_DAY}, 520 {"clearDataDay", IDS_SETTINGS_CLEAR_DATA_DAY},
521 {"clearDataWeek", IDS_SETTINGS_CLEAR_DATA_WEEK}, 521 {"clearDataWeek", IDS_SETTINGS_CLEAR_DATA_WEEK},
522 {"clearData4Weeks", IDS_SETTINGS_CLEAR_DATA_4WEEKS}, 522 {"clearData4Weeks", IDS_SETTINGS_CLEAR_DATA_4WEEKS},
523 {"clearDataEverything", IDS_SETTINGS_CLEAR_DATA_EVERYTHING}, 523 {"clearDataEverything", IDS_SETTINGS_CLEAR_DATA_EVERYTHING},
524 {"warnAboutNonClearedData", IDS_SETTINGS_CLEAR_DATA_SOME_STUFF_REMAINS}, 524 {"warnAboutNonClearedData", IDS_SETTINGS_CLEAR_DATA_SOME_STUFF_REMAINS},
525 {"clearsSyncedData", IDS_SETTINGS_CLEAR_DATA_CLEARS_SYNCED_DATA}, 525 {"clearsSyncedData", IDS_SETTINGS_CLEAR_DATA_CLEARS_SYNCED_DATA},
526 {"clearBrowsingDataLearnMoreUrl", IDS_SETTINGS_CLEAR_DATA_LEARN_MORE_URL}, 526 {"clearBrowsingDataLearnMoreUrl", IDS_SETTINGS_CLEAR_DATA_LEARN_MORE_URL},
527 {"historyDeletionDialogTitle", 527 {"historyDeletionDialogTitle",
528 IDS_CLEAR_BROWSING_DATA_HISTORY_NOTICE_TITLE}, 528 IDS_CLEAR_BROWSING_DATA_HISTORY_NOTICE_TITLE},
529 {"historyDeletionDialogOK", 529 {"historyDeletionDialogOK", IDS_CLEAR_BROWSING_DATA_HISTORY_NOTICE_OK},
530 IDS_CLEAR_BROWSING_DATA_HISTORY_NOTICE_OK}, 530 {"importantSitesSubtitle", IDS_SETTINGS_IMPORTANT_SITES_SUBTITLE},
531 {"importantSitesConfirm", IDS_SETTINGS_IMPORTANT_SITES_CONFIRM},
532 {"notificationWarning", IDS_SETTINGS_NOTIFICATION_WARNING},
531 }; 533 };
532 534
533 html_source->AddString( 535 html_source->AddString(
534 "otherFormsOfBrowsingHistory", 536 "otherFormsOfBrowsingHistory",
535 l10n_util::GetStringFUTF16( 537 l10n_util::GetStringFUTF16(
536 IDS_CLEAR_BROWSING_DATA_HISTORY_FOOTER, 538 IDS_CLEAR_BROWSING_DATA_HISTORY_FOOTER,
537 l10n_util::GetStringUTF16( 539 l10n_util::GetStringUTF16(
538 IDS_SETTINGS_CLEAR_DATA_WEB_HISTORY_URL_IN_FOOTER))); 540 IDS_SETTINGS_CLEAR_DATA_WEB_HISTORY_URL_IN_FOOTER)));
539 html_source->AddString( 541 html_source->AddString(
540 "historyDeletionDialogBody", 542 "historyDeletionDialogBody",
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
2041 2043
2042 #if defined(OS_CHROMEOS) 2044 #if defined(OS_CHROMEOS)
2043 chromeos::network_element::AddLocalizedStrings(html_source); 2045 chromeos::network_element::AddLocalizedStrings(html_source);
2044 #endif 2046 #endif
2045 policy_indicator::AddLocalizedStrings(html_source); 2047 policy_indicator::AddLocalizedStrings(html_source);
2046 2048
2047 html_source->SetJsonPath(kLocalizedStringsFile); 2049 html_source->SetJsonPath(kLocalizedStringsFile);
2048 } 2050 }
2049 2051
2050 } // namespace settings 2052 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698