| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef EXTENSIONS_BROWSER_PREF_NAMES_H_ | 5 #ifndef EXTENSIONS_BROWSER_PREF_NAMES_H_ |
| 6 #define EXTENSIONS_BROWSER_PREF_NAMES_H_ | 6 #define EXTENSIONS_BROWSER_PREF_NAMES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "extensions/browser/extension_prefs_scope.h" | 10 #include "extensions/browser/extension_prefs_scope.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 // The sites that are allowed to install extensions. These sites should be | 29 // The sites that are allowed to install extensions. These sites should be |
| 30 // allowed to install extensions without the scary dangerous downloads bar. | 30 // allowed to install extensions without the scary dangerous downloads bar. |
| 31 // Also, when off-store-extension installs are disabled, these sites are exempt. | 31 // Also, when off-store-extension installs are disabled, these sites are exempt. |
| 32 extern const char kAllowedInstallSites[]; | 32 extern const char kAllowedInstallSites[]; |
| 33 | 33 |
| 34 // A list of allowed extension types. Extensions can only be installed if their | 34 // A list of allowed extension types. Extensions can only be installed if their |
| 35 // type is on this whitelist or alternatively on kInstallAllowList or | 35 // type is on this whitelist or alternatively on kInstallAllowList or |
| 36 // kInstallForceList. | 36 // kInstallForceList. |
| 37 extern const char kAllowedTypes[]; | 37 extern const char kAllowedTypes[]; |
| 38 | 38 |
| 39 // A boolean that tracks whether apps are allowed to enter fullscreen mode. | |
| 40 extern const char kAppFullscreenAllowed[]; | |
| 41 | |
| 42 // Integer which specifies the launch type that bookmark apps are created with | 39 // Integer which specifies the launch type that bookmark apps are created with |
| 43 // by default. | 40 // by default. |
| 44 extern const char kBookmarkAppCreationLaunchType[]; | 41 extern const char kBookmarkAppCreationLaunchType[]; |
| 45 | 42 |
| 46 // Dictionary pref that keeps track of per-extension settings. The keys are | 43 // Dictionary pref that keeps track of per-extension settings. The keys are |
| 47 // extension ids. | 44 // extension ids. |
| 48 extern const char kExtensions[]; | 45 extern const char kExtensions[]; |
| 49 | 46 |
| 50 // A whitelist of extension ids the user can install: exceptions from the | 47 // A whitelist of extension ids the user can install: exceptions from the |
| 51 // following blacklist. | 48 // following blacklist. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 // Extension-set content settings. | 103 // Extension-set content settings. |
| 107 extern const char kPrefContentSettings[]; | 104 extern const char kPrefContentSettings[]; |
| 108 | 105 |
| 109 // Extension-set incognito content settings. | 106 // Extension-set incognito content settings. |
| 110 extern const char kPrefIncognitoContentSettings[]; | 107 extern const char kPrefIncognitoContentSettings[]; |
| 111 | 108 |
| 112 } // namespace pref_names | 109 } // namespace pref_names |
| 113 } // namespace extensions | 110 } // namespace extensions |
| 114 | 111 |
| 115 #endif // EXTENSIONS_BROWSER_PREF_NAMES_H_ | 112 #endif // EXTENSIONS_BROWSER_PREF_NAMES_H_ |
| OLD | NEW |