Home | History | Annotate | Download | only in message_center
      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 
      5 #ifndef UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_
      6 #define UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_
      7 
      8 namespace message_center {
      9 
     10 enum Visibility {
     11   // When nothing or just toast popups are being displayed.
     12   VISIBILITY_TRANSIENT = 0,
     13   // When the message center view is being displayed.
     14   VISIBILITY_MESSAGE_CENTER,
     15   // When the settings view is being displayed.
     16   VISIBILITY_SETTINGS,
     17 };
     18 
     19 // Identifies the source of a displayed notification.
     20 enum DisplaySource {
     21   // Displayed from the message center.
     22   DISPLAY_SOURCE_MESSAGE_CENTER = 0,
     23   // Displayed as a popup.
     24   DISPLAY_SOURCE_POPUP,
     25 };
     26 
     27 }  // namespace message_center
     28 
     29 #endif  // UI_MESSAGE_CENTER_MESSAGE_CENTER_TYPES_H_
     30