Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: chrome/common/content_settings_types.h

Issue 343743004: Implement a permission check for push. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add content settings html sections Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | content/browser/push_messaging_message_filter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 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 {
(...skipping 11 matching lines...) Expand all
22 CONTENT_SETTINGS_TYPE_FULLSCREEN, 22 CONTENT_SETTINGS_TYPE_FULLSCREEN,
23 CONTENT_SETTINGS_TYPE_MOUSELOCK, 23 CONTENT_SETTINGS_TYPE_MOUSELOCK,
24 CONTENT_SETTINGS_TYPE_MIXEDSCRIPT, 24 CONTENT_SETTINGS_TYPE_MIXEDSCRIPT,
25 CONTENT_SETTINGS_TYPE_MEDIASTREAM, // Default setting for MIC and CAMERA. 25 CONTENT_SETTINGS_TYPE_MEDIASTREAM, // Default setting for MIC and CAMERA.
26 CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC, 26 CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC,
27 CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA, 27 CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA,
28 CONTENT_SETTINGS_TYPE_PROTOCOL_HANDLERS, 28 CONTENT_SETTINGS_TYPE_PROTOCOL_HANDLERS,
29 CONTENT_SETTINGS_TYPE_PPAPI_BROKER, 29 CONTENT_SETTINGS_TYPE_PPAPI_BROKER,
30 CONTENT_SETTINGS_TYPE_AUTOMATIC_DOWNLOADS, 30 CONTENT_SETTINGS_TYPE_AUTOMATIC_DOWNLOADS,
31 CONTENT_SETTINGS_TYPE_MIDI_SYSEX, 31 CONTENT_SETTINGS_TYPE_MIDI_SYSEX,
32 CONTENT_SETTINGS_TYPE_PUSH_MESSAGING,
32 #if defined(OS_WIN) 33 #if defined(OS_WIN)
33 CONTENT_SETTINGS_TYPE_METRO_SWITCH_TO_DESKTOP, 34 CONTENT_SETTINGS_TYPE_METRO_SWITCH_TO_DESKTOP,
34 #elif defined(OS_ANDROID) || defined(OS_CHROMEOS) 35 #elif defined(OS_ANDROID) || defined(OS_CHROMEOS)
35 CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER, 36 CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER,
36 #endif 37 #endif
37 #if defined(OS_ANDROID) 38 #if defined(OS_ANDROID)
38 CONTENT_SETTINGS_TYPE_APP_BANNER, 39 CONTENT_SETTINGS_TYPE_APP_BANNER,
39 #endif 40 #endif
40 CONTENT_SETTINGS_NUM_TYPES, 41 CONTENT_SETTINGS_NUM_TYPES,
41 }; 42 };
42 43
43 #endif // CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_ 44 #endif // CHROME_COMMON_CONTENT_SETTINGS_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | content/browser/push_messaging_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698