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

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

Issue 5398001: Allow default desktop content settings to be managed via policy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Cocoa UI-changes Created 10 years 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
OLDNEW
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_NOTIFICATION_TYPE_H_ 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_
6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_
7 #pragma once 7 #pragma once
8 8
9 // This file describes various types used to describe and filter notifications 9 // This file describes various types used to describe and filter notifications
10 // that pass through the NotificationService. 10 // that pass through the NotificationService.
(...skipping 1098 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 1109
1110 // Sent when the default setting for desktop notifications has changed. 1110 // Sent when the default setting for desktop notifications has changed.
1111 // The source is the DesktopNotificationService, the details are None. 1111 // The source is the DesktopNotificationService, the details are None.
1112 DESKTOP_NOTIFICATION_DEFAULT_CHANGED, 1112 DESKTOP_NOTIFICATION_DEFAULT_CHANGED,
1113 1113
1114 // Sent when a non-default setting in the the notification content settings 1114 // Sent when a non-default setting in the the notification content settings
1115 // map has changed. The source is the DesktopNotificationService, the 1115 // map has changed. The source is the DesktopNotificationService, the
1116 // details are None. 1116 // details are None.
1117 DESKTOP_NOTIFICATION_SETTINGS_CHANGED, 1117 DESKTOP_NOTIFICATION_SETTINGS_CHANGED,
1118 1118
1119 // Sent when the geolocation settings change. The source is the
1120 // GeolocationContentSettingsMap object, the details are
1121 // ContentSettingsNotificationsDetails.
1122 GEOLOCATION_SETTINGS_CHANGED,
1123
1119 // Sync -------------------------------------------------------------------- 1124 // Sync --------------------------------------------------------------------
1120 1125
1121 // Sent when the sync backend has been paused. 1126 // Sent when the sync backend has been paused.
1122 SYNC_PAUSED, 1127 SYNC_PAUSED,
1123 1128
1124 // Sent when the sync backend has been resumed. 1129 // Sent when the sync backend has been resumed.
1125 SYNC_RESUMED, 1130 SYNC_RESUMED,
1126 1131
1127 // The sync service has started the configuration process. 1132 // The sync service has started the configuration process.
1128 SYNC_CONFIGURE_START, 1133 SYNC_CONFIGURE_START,
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 }; 1340 };
1336 1341
1337 inline bool operator==(NotificationType::Type a, NotificationType b) { 1342 inline bool operator==(NotificationType::Type a, NotificationType b) {
1338 return a == b.value; 1343 return a == b.value;
1339 } 1344 }
1340 inline bool operator!=(NotificationType::Type a, NotificationType b) { 1345 inline bool operator!=(NotificationType::Type a, NotificationType b) {
1341 return a != b.value; 1346 return a != b.value;
1342 } 1347 }
1343 1348
1344 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ 1349 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/options/content_filter_page_view.cc ('k') | chrome/common/policy_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698