Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // A particular type of content to care about. We give the user various types | 9 // A particular type of content to care about. We give the user various types |
| 10 // of controls over each of these. | 10 // of controls over each of these. |
| 11 enum ContentSettingsType { | 11 enum ContentSettingsType { |
| 12 // "DEFAULT" is only used as an argument to the Content Settings Window | 12 // "DEFAULT" is only used as an argument to the Content Settings Window |
| 13 // opener; there it means "whatever was last shown". | 13 // opener; there it means "whatever was last shown". |
| 14 CONTENT_SETTINGS_TYPE_DEFAULT = -1, | 14 CONTENT_SETTINGS_TYPE_DEFAULT = -1, |
| 15 CONTENT_SETTINGS_TYPE_COOKIES = 0, | 15 CONTENT_SETTINGS_TYPE_COOKIES = 0, |
| 16 CONTENT_SETTINGS_TYPE_IMAGES, | 16 CONTENT_SETTINGS_TYPE_IMAGES, |
| 17 CONTENT_SETTINGS_TYPE_JAVASCRIPT, | 17 CONTENT_SETTINGS_TYPE_JAVASCRIPT, |
| 18 CONTENT_SETTINGS_TYPE_PLUGINS, | 18 CONTENT_SETTINGS_TYPE_PLUGINS, |
| 19 CONTENT_SETTINGS_TYPE_POPUPS, | 19 CONTENT_SETTINGS_TYPE_POPUPS, |
| 20 CONTENT_SETTINGS_TYPE_GEOLOCATION, | 20 CONTENT_SETTINGS_TYPE_GEOLOCATION, |
| 21 CONTENT_SETTINGS_TYPE_NOTIFICATIONS, | 21 CONTENT_SETTINGS_TYPE_NOTIFICATIONS, |
| 22 CONTENT_SETTINGS_TYPE_INTENTS, | 22 CONTENT_SETTINGS_TYPE_INTENTS, |
| 23 CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE, | 23 CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE, |
| 24 CONTENT_SETTINGS_TYPE_FULLSCREEN, | 24 CONTENT_SETTINGS_TYPE_FULLSCREEN, |
| 25 CONTENT_SETTINGS_TYPE_MOUSELOCK, | 25 CONTENT_SETTINGS_TYPE_MOUSELOCK, |
| 26 CONTENT_SETTINGS_TYPE_MIXEDSCRIPT, | 26 CONTENT_SETTINGS_TYPE_MIXEDSCRIPT, |
| 27 CONTENT_SETTINGS_TYPE_REGISTER_PROTOCOL_HANDLER, | |
|
Bernhard Bauer
2012/06/25 16:52:20
I think the feature itself is just called "protoco
Greg Billock
2012/06/26 19:17:04
Done.
| |
| 27 CONTENT_SETTINGS_NUM_TYPES | 28 CONTENT_SETTINGS_NUM_TYPES |
| 28 }; | 29 }; |
| 29 | 30 |
| 30 #endif // CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ | 31 #endif // CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ |
| OLD | NEW |