OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ | 5 #ifndef CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ |
6 #define CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ | 6 #define CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ |
7 | 7 |
8 // A particular type of content to care about. We give the user various types | 8 // A particular type of content to care about. We give the user various types |
9 // of controls over each of these. | 9 // of controls over each of these. |
10 enum ContentSettingsType { | 10 enum ContentSettingsType { |
11 // "DEFAULT" is only used as an argument to the Content Settings Window | 11 // "DEFAULT" is only used as an argument to the Content Settings Window |
12 // opener; there it means "whatever was last shown". | 12 // opener; there it means "whatever was last shown". |
13 CONTENT_SETTINGS_TYPE_DEFAULT = -1, | 13 CONTENT_SETTINGS_TYPE_DEFAULT = -1, |
14 CONTENT_SETTINGS_TYPE_COOKIES = 0, | 14 CONTENT_SETTINGS_TYPE_COOKIES = 0, |
15 CONTENT_SETTINGS_TYPE_IMAGES, | 15 CONTENT_SETTINGS_TYPE_IMAGES, |
16 CONTENT_SETTINGS_TYPE_JAVASCRIPT, | 16 CONTENT_SETTINGS_TYPE_JAVASCRIPT, |
17 CONTENT_SETTINGS_TYPE_PLUGINS, | 17 CONTENT_SETTINGS_TYPE_PLUGINS, |
18 CONTENT_SETTINGS_TYPE_POPUPS, | 18 CONTENT_SETTINGS_TYPE_POPUPS, |
| 19 CONTENT_SETTINGS_TYPE_GEOLOCATION, |
19 CONTENT_SETTINGS_NUM_TYPES | 20 CONTENT_SETTINGS_NUM_TYPES |
20 }; | 21 }; |
21 | 22 |
22 #endif // CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ | 23 #endif // CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ |
OLD | NEW |