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

Side by Side Diff: chrome/common/pref_names.cc

Issue 10537099: add "always allow" option to the mediastream infobar and allow user to allow/not allow acces to devi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Check the exceptions before the default setting, sites in the exceptions list can access the device… Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
942 "geolocation.default_content_setting"; 942 "geolocation.default_content_setting";
943 943
944 #if defined(OS_ANDROID) 944 #if defined(OS_ANDROID)
945 // Boolean that controls the enabled-state of Geolocation. 945 // Boolean that controls the enabled-state of Geolocation.
946 const char kGeolocationEnabled[] = "geolocation.enabled"; 946 const char kGeolocationEnabled[] = "geolocation.enabled";
947 #endif 947 #endif
948 948
949 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. 949 // Dictionary that maps [frame, toplevel] to their Geolocation content setting.
950 const char kGeolocationContentSettings[] = "geolocation.content_settings"; 950 const char kGeolocationContentSettings[] = "geolocation.content_settings";
951 951
952
952 // Preference to disable 3D APIs (WebGL, Pepper 3D). 953 // Preference to disable 3D APIs (WebGL, Pepper 3D).
953 const char kDisable3DAPIs[] = "disable_3d_apis"; 954 const char kDisable3DAPIs[] = "disable_3d_apis";
954 955
955 // Whether to enable hyperlink auditing ("<a ping>"). 956 // Whether to enable hyperlink auditing ("<a ping>").
956 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 957 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
957 958
958 // Whether to enable sending referrers. 959 // Whether to enable sending referrers.
959 const char kEnableReferrers[] = "enable_referrers"; 960 const char kEnableReferrers[] = "enable_referrers";
960 961
961 // Boolean to enable reporting memory info to page. 962 // Boolean to enable reporting memory info to page.
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1818 const char kManagedDefaultJavaScriptSetting[] = 1819 const char kManagedDefaultJavaScriptSetting[] =
1819 "profile.managed_default_content_settings.javascript"; 1820 "profile.managed_default_content_settings.javascript";
1820 const char kManagedDefaultPluginsSetting[] = 1821 const char kManagedDefaultPluginsSetting[] =
1821 "profile.managed_default_content_settings.plugins"; 1822 "profile.managed_default_content_settings.plugins";
1822 const char kManagedDefaultPopupsSetting[] = 1823 const char kManagedDefaultPopupsSetting[] =
1823 "profile.managed_default_content_settings.popups"; 1824 "profile.managed_default_content_settings.popups";
1824 const char kManagedDefaultGeolocationSetting[] = 1825 const char kManagedDefaultGeolocationSetting[] =
1825 "profile.managed_default_content_settings.geolocation"; 1826 "profile.managed_default_content_settings.geolocation";
1826 const char kManagedDefaultNotificationsSetting[] = 1827 const char kManagedDefaultNotificationsSetting[] =
1827 "profile.managed_default_content_settings.notifications"; 1828 "profile.managed_default_content_settings.notifications";
1829 const char kManagedDefaultMediaStreamSetting[] =
1830 "mediastream.default_content_settings";
1828 1831
1829 // Preferences that are exclusively used to store managed 1832 // Preferences that are exclusively used to store managed
1830 // content settings patterns. 1833 // content settings patterns.
1831 const char kManagedCookiesAllowedForUrls[] = 1834 const char kManagedCookiesAllowedForUrls[] =
1832 "profile.managed_cookies_allowed_for_urls"; 1835 "profile.managed_cookies_allowed_for_urls";
1833 const char kManagedCookiesBlockedForUrls[] = 1836 const char kManagedCookiesBlockedForUrls[] =
1834 "profile.managed_cookies_blocked_for_urls"; 1837 "profile.managed_cookies_blocked_for_urls";
1835 const char kManagedCookiesSessionOnlyForUrls[] = 1838 const char kManagedCookiesSessionOnlyForUrls[] =
1836 "profile.managed_cookies_sessiononly_for_urls"; 1839 "profile.managed_cookies_sessiononly_for_urls";
1837 const char kManagedImagesAllowedForUrls[] = 1840 const char kManagedImagesAllowedForUrls[] =
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1953 const char kNetworkProfileLastWarningTime[] = 1956 const char kNetworkProfileLastWarningTime[] =
1954 "network_profile.last_warning_time"; 1957 "network_profile.last_warning_time";
1955 1958
1956 #if defined(OS_MACOSX) 1959 #if defined(OS_MACOSX)
1957 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. 1960 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5.
1958 const char kMacLeopardObsoleteInfobarLastShown[] = 1961 const char kMacLeopardObsoleteInfobarLastShown[] =
1959 "mac_105_obsolete_infobar_last_shown"; 1962 "mac_105_obsolete_infobar_last_shown";
1960 #endif // defined(OS_MACOSX) 1963 #endif // defined(OS_MACOSX)
1961 1964
1962 } // namespace prefs 1965 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698