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

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

Issue 2382243003: MD Settings: drop subpage arrow from default browser section (Closed)
Patch Set: secondary Created 4 years, 2 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/default_browser_page/default_browser_page.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 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 AddLocalizedStringsBulk(html_source, localized_strings, 462 AddLocalizedStringsBulk(html_source, localized_strings,
463 arraysize(localized_strings)); 463 arraysize(localized_strings));
464 } 464 }
465 465
466 #if !defined(OS_CHROMEOS) 466 #if !defined(OS_CHROMEOS)
467 void AddDefaultBrowserStrings(content::WebUIDataSource* html_source) { 467 void AddDefaultBrowserStrings(content::WebUIDataSource* html_source) {
468 LocalizedString localized_strings[] = { 468 LocalizedString localized_strings[] = {
469 {"defaultBrowser", IDS_SETTINGS_DEFAULT_BROWSER}, 469 {"defaultBrowser", IDS_SETTINGS_DEFAULT_BROWSER},
470 {"defaultBrowserDefault", IDS_SETTINGS_DEFAULT_BROWSER_DEFAULT}, 470 {"defaultBrowserDefault", IDS_SETTINGS_DEFAULT_BROWSER_DEFAULT},
471 {"defaultBrowserMakeDefault", IDS_SETTINGS_DEFAULT_BROWSER_MAKE_DEFAULT}, 471 {"defaultBrowserMakeDefault", IDS_SETTINGS_DEFAULT_BROWSER_MAKE_DEFAULT},
472 {"defaultBrowserMakeDefaultButton",
473 IDS_SETTINGS_DEFAULT_BROWSER_MAKE_DEFAULT_BUTTON},
472 {"defaultBrowserError", IDS_SETTINGS_DEFAULT_BROWSER_ERROR}, 474 {"defaultBrowserError", IDS_SETTINGS_DEFAULT_BROWSER_ERROR},
473 {"defaultBrowserSecondary", IDS_SETTINGS_DEFAULT_BROWSER_SECONDARY}, 475 {"defaultBrowserSecondary", IDS_SETTINGS_DEFAULT_BROWSER_SECONDARY},
474 }; 476 };
475 AddLocalizedStringsBulk(html_source, localized_strings, 477 AddLocalizedStringsBulk(html_source, localized_strings,
476 arraysize(localized_strings)); 478 arraysize(localized_strings));
477 } 479 }
478 #endif 480 #endif
479 481
480 #if defined(OS_CHROMEOS) 482 #if defined(OS_CHROMEOS)
481 void AddDeviceStrings(content::WebUIDataSource* html_source) { 483 void AddDeviceStrings(content::WebUIDataSource* html_source) {
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 #endif 1649 #endif
1648 AddUsersStrings(html_source); 1650 AddUsersStrings(html_source);
1649 AddWebContentStrings(html_source); 1651 AddWebContentStrings(html_source);
1650 1652
1651 policy_indicator::AddLocalizedStrings(html_source); 1653 policy_indicator::AddLocalizedStrings(html_source);
1652 1654
1653 html_source->SetJsonPath(kLocalizedStringsFile); 1655 html_source->SetJsonPath(kLocalizedStringsFile);
1654 } 1656 }
1655 1657
1656 } // namespace settings 1658 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/default_browser_page/default_browser_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698