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

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

Issue 2699793003: MD Settings: Add MIDI devices to Content Settings (Closed)
Patch Set: add icon and fix tests Created 3 years, 10 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 1602 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_ENABLE}, 1613 IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_ENABLE},
1614 #if defined(OS_CHROMEOS) || defined(OS_WIN) 1614 #if defined(OS_CHROMEOS) || defined(OS_WIN)
1615 {"siteSettingsProtectedContentIdentifiersExplanation", 1615 {"siteSettingsProtectedContentIdentifiersExplanation",
1616 IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_IDENTIFIERS_EXPLANATION}, 1616 IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_IDENTIFIERS_EXPLANATION},
1617 {"siteSettingsProtectedContentEnableIdentifiers", 1617 {"siteSettingsProtectedContentEnableIdentifiers",
1618 IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_ENABLE_IDENTIFIERS}, 1618 IDS_SETTINGS_SITE_SETTINGS_PROTECTED_CONTENT_ENABLE_IDENTIFIERS},
1619 #endif 1619 #endif
1620 {"siteSettingsPopups", IDS_SETTINGS_SITE_SETTINGS_POPUPS}, 1620 {"siteSettingsPopups", IDS_SETTINGS_SITE_SETTINGS_POPUPS},
1621 {"siteSettingsUnsandboxedPlugins", 1621 {"siteSettingsUnsandboxedPlugins",
1622 IDS_SETTINGS_SITE_SETTINGS_UNSANDBOXED_PLUGINS}, 1622 IDS_SETTINGS_SITE_SETTINGS_UNSANDBOXED_PLUGINS},
1623 {"siteSettingsMidiDevices", IDS_SETTINGS_SITE_SETTINGS_MIDI_DEVICES},
1624 {"siteSettingsMidiDevicesAsk", IDS_SETTINGS_SITE_SETTINGS_MIDI_DEVICES_ASK},
1625 {"siteSettingsMidiDevicesAskRecommended",
1626 IDS_SETTINGS_SITE_SETTINGS_MIDI_DEVICES_ASK_RECOMMENDED},
1627 {"siteSettingsMidiDevicesBlock",
1628 IDS_SETTINGS_SITE_SETTINGS_MIDI_DEVICES_BLOCK},
1623 {"siteSettingsUsbDevices", IDS_SETTINGS_SITE_SETTINGS_USB_DEVICES}, 1629 {"siteSettingsUsbDevices", IDS_SETTINGS_SITE_SETTINGS_USB_DEVICES},
1624 {"siteSettingsZoomLevels", IDS_SETTINGS_SITE_SETTINGS_ZOOM_LEVELS}, 1630 {"siteSettingsZoomLevels", IDS_SETTINGS_SITE_SETTINGS_ZOOM_LEVELS},
1625 {"siteSettingsNoZoomedSites", IDS_SETTINGS_SITE_SETTINGS_NO_ZOOMED_SITES}, 1631 {"siteSettingsNoZoomedSites", IDS_SETTINGS_SITE_SETTINGS_NO_ZOOMED_SITES},
1626 {"siteSettingsMaySaveCookies", IDS_SETTINGS_SITE_SETTINGS_MAY_SAVE_COOKIES}, 1632 {"siteSettingsMaySaveCookies", IDS_SETTINGS_SITE_SETTINGS_MAY_SAVE_COOKIES},
1627 {"siteSettingsAskFirst", IDS_SETTINGS_SITE_SETTINGS_ASK_FIRST}, 1633 {"siteSettingsAskFirst", IDS_SETTINGS_SITE_SETTINGS_ASK_FIRST},
1628 {"siteSettingsAskFirstRecommended", 1634 {"siteSettingsAskFirstRecommended",
1629 IDS_SETTINGS_SITE_SETTINGS_ASK_FIRST_RECOMMENDED}, 1635 IDS_SETTINGS_SITE_SETTINGS_ASK_FIRST_RECOMMENDED},
1630 {"siteSettingsAskBeforeAccessing", 1636 {"siteSettingsAskBeforeAccessing",
1631 IDS_SETTINGS_SITE_SETTINGS_ASK_BEFORE_ACCESSING}, 1637 IDS_SETTINGS_SITE_SETTINGS_ASK_BEFORE_ACCESSING},
1632 {"siteSettingsAskBeforeAccessingRecommended", 1638 {"siteSettingsAskBeforeAccessingRecommended",
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 1939
1934 #if defined(OS_CHROMEOS) 1940 #if defined(OS_CHROMEOS)
1935 chromeos::network_element::AddLocalizedStrings(html_source); 1941 chromeos::network_element::AddLocalizedStrings(html_source);
1936 #endif 1942 #endif
1937 policy_indicator::AddLocalizedStrings(html_source); 1943 policy_indicator::AddLocalizedStrings(html_source);
1938 1944
1939 html_source->SetJsonPath(kLocalizedStringsFile); 1945 html_source->SetJsonPath(kLocalizedStringsFile);
1940 } 1946 }
1941 1947
1942 } // namespace settings 1948 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698