message_center_types.h 780 B

123456789101112131415161718192021222324252627
  1. // Copyright 2013 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_
  5. #define UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_
  6. namespace message_center {
  7. enum Visibility {
  8. // When nothing or just toast popups are being displayed.
  9. VISIBILITY_TRANSIENT = 0,
  10. // When the message center view is being displayed.
  11. VISIBILITY_MESSAGE_CENTER,
  12. };
  13. // Identifies the source of a displayed notification.
  14. enum DisplaySource {
  15. // Displayed from the message center.
  16. DISPLAY_SOURCE_MESSAGE_CENTER = 0,
  17. // Displayed as a popup.
  18. DISPLAY_SOURCE_POPUP,
  19. };
  20. } // namespace message_center
  21. #endif // UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_