| 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 22 matching lines...) Expand all Loading... |
| 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 // 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 |
| 40 // by default. | 40 // by default. |
| 41 extern const char kBookmarkAppCreationLaunchType[]; | 41 extern const char kBookmarkAppCreationLaunchType[]; |
| 42 | 42 |
| 43 // Integer boolean representing the width (in pixels) of the container for | |
| 44 // browser actions. | |
| 45 extern const char kBrowserActionContainerWidth[]; | |
| 46 | |
| 47 // 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 |
| 48 // extension ids. | 44 // extension ids. |
| 49 extern const char kExtensions[]; | 45 extern const char kExtensions[]; |
| 50 | 46 |
| 51 // 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 |
| 52 // following blacklist. | 48 // following blacklist. |
| 53 extern const char kInstallAllowList[]; | 49 extern const char kInstallAllowList[]; |
| 54 | 50 |
| 55 // A blacklist, containing extensions the user cannot install. This list can | 51 // A blacklist, containing extensions the user cannot install. This list can |
| 56 // contain "*" meaning all extensions. This list should not be confused with the | 52 // contain "*" meaning all extensions. This list should not be confused with the |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 // Extension-set content settings. | 103 // Extension-set content settings. |
| 108 extern const char kPrefContentSettings[]; | 104 extern const char kPrefContentSettings[]; |
| 109 | 105 |
| 110 // Extension-set incognito content settings. | 106 // Extension-set incognito content settings. |
| 111 extern const char kPrefIncognitoContentSettings[]; | 107 extern const char kPrefIncognitoContentSettings[]; |
| 112 | 108 |
| 113 } // namespace pref_names | 109 } // namespace pref_names |
| 114 } // namespace extensions | 110 } // namespace extensions |
| 115 | 111 |
| 116 #endif // EXTENSIONS_BROWSER_PREF_NAMES_H_ | 112 #endif // EXTENSIONS_BROWSER_PREF_NAMES_H_ |
| OLD | NEW |