| 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 |
| 39 // Integer which specifies the launch type that bookmark apps are created with | 42 // Integer which specifies the launch type that bookmark apps are created with |
| 40 // by default. | 43 // by default. |
| 41 extern const char kBookmarkAppCreationLaunchType[]; | 44 extern const char kBookmarkAppCreationLaunchType[]; |
| 42 | 45 |
| 43 // Dictionary pref that keeps track of per-extension settings. The keys are | 46 // Dictionary pref that keeps track of per-extension settings. The keys are |
| 44 // extension ids. | 47 // extension ids. |
| 45 extern const char kExtensions[]; | 48 extern const char kExtensions[]; |
| 46 | 49 |
| 47 // A whitelist of extension ids the user can install: exceptions from the | 50 // A whitelist of extension ids the user can install: exceptions from the |
| 48 // following blacklist. | 51 // following blacklist. |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 // Extension-set content settings. | 106 // Extension-set content settings. |
| 104 extern const char kPrefContentSettings[]; | 107 extern const char kPrefContentSettings[]; |
| 105 | 108 |
| 106 // Extension-set incognito content settings. | 109 // Extension-set incognito content settings. |
| 107 extern const char kPrefIncognitoContentSettings[]; | 110 extern const char kPrefIncognitoContentSettings[]; |
| 108 | 111 |
| 109 } // namespace pref_names | 112 } // namespace pref_names |
| 110 } // namespace extensions | 113 } // namespace extensions |
| 111 | 114 |
| 112 #endif // EXTENSIONS_BROWSER_PREF_NAMES_H_ | 115 #endif // EXTENSIONS_BROWSER_PREF_NAMES_H_ |
| OLD | NEW |