blob: f5497e41c6d88ceca1e9bafe15d73c7a73974e61 [file] [log] [blame]
// Copyright (c) 2012 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 UI_MESSAGE_CENTER_PUBLIC_CPP_NOTIFICATION_TYPES_H_
#define UI_MESSAGE_CENTER_PUBLIC_CPP_NOTIFICATION_TYPES_H_
namespace message_center {
// Notification types. Note that the values in this enumeration are being
// recoded in a histogram, updates should not change the entries' values.
enum NotificationType {
NOTIFICATION_TYPE_SIMPLE = 0,
NOTIFICATION_TYPE_BASE_FORMAT = 1,
NOTIFICATION_TYPE_IMAGE = 2,
NOTIFICATION_TYPE_MULTIPLE = 3,
NOTIFICATION_TYPE_PROGRESS = 4, // Notification with progress bar.
NOTIFICATION_TYPE_CUSTOM = 5,
// Add new values before this line.
NOTIFICATION_TYPE_LAST = NOTIFICATION_TYPE_CUSTOM
};
enum NotificationPriority {
MIN_PRIORITY = -2,
LOW_PRIORITY = -1,
DEFAULT_PRIORITY = 0,
// Priorities > |DEFAULT_PRIORITY| have the capability to wake the display up
// if it was off.
HIGH_PRIORITY = 1,
MAX_PRIORITY = 2,
// Top priority for system-level notifications.. This can't be set from
// kPriorityKey, instead you have to call SetSystemPriority() of
// Notification object.
SYSTEM_PRIORITY = 3,
};
} // namespace message_center
#endif // UI_MESSAGE_CENTER_PUBLIC_CPP_NOTIFICATION_TYPES_H_