| // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ |
| #define CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ |
| #pragma once |
| |
| // A particular type of content to care about. We give the user various types |
| // of controls over each of these. |
| enum ContentSettingsType { |
| // "DEFAULT" is only used as an argument to the Content Settings Window |
| // opener; there it means "whatever was last shown". |
| CONTENT_SETTINGS_TYPE_DEFAULT = -1, |
| CONTENT_SETTINGS_TYPE_COOKIES = 0, |
| CONTENT_SETTINGS_TYPE_IMAGES, |
| CONTENT_SETTINGS_TYPE_JAVASCRIPT, |
| CONTENT_SETTINGS_TYPE_PLUGINS, |
| CONTENT_SETTINGS_TYPE_POPUPS, |
| CONTENT_SETTINGS_TYPE_GEOLOCATION, |
| CONTENT_SETTINGS_TYPE_NOTIFICATIONS, |
| CONTENT_SETTINGS_TYPE_INTENTS, |
| CONTENT_SETTINGS_TYPE_AUTO_SELECT_CERTIFICATE, |
| CONTENT_SETTINGS_TYPE_FULLSCREEN, |
| CONTENT_SETTINGS_TYPE_MOUSELOCK, |
| CONTENT_SETTINGS_NUM_TYPES |
| }; |
| |
| #endif // CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ |