| OLD | NEW |
| 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 UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ | 5 #ifndef UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ |
| 6 #define UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ | 6 #define UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_export.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 UI_EXPORT extern const char kButtonOneTitleKey[]; | 22 UI_EXPORT extern const char kButtonOneTitleKey[]; |
| 23 UI_EXPORT extern const char kButtonOneIntentKey[]; | 23 UI_EXPORT extern const char kButtonOneIntentKey[]; |
| 24 UI_EXPORT extern const char kButtonTwoTitleKey[]; | 24 UI_EXPORT extern const char kButtonTwoTitleKey[]; |
| 25 UI_EXPORT extern const char kButtonTwoIntentKey[]; | 25 UI_EXPORT extern const char kButtonTwoIntentKey[]; |
| 26 UI_EXPORT extern const char kExpandedMessageKey[]; | 26 UI_EXPORT extern const char kExpandedMessageKey[]; |
| 27 UI_EXPORT extern const char kImageUrlKey[]; | 27 UI_EXPORT extern const char kImageUrlKey[]; |
| 28 | 28 |
| 29 enum NotificationType { | 29 enum NotificationType { |
| 30 NOTIFICATION_TYPE_SIMPLE, | 30 NOTIFICATION_TYPE_SIMPLE, |
| 31 NOTIFICATION_TYPE_BASE_FORMAT, | 31 NOTIFICATION_TYPE_BASE_FORMAT, |
| 32 NOTIFICATION_TYPE_MULTIPLE, |
| 32 }; | 33 }; |
| 33 | 34 |
| 34 UI_EXPORT NotificationType StringToNotificationType(std::string& string_type); | 35 UI_EXPORT NotificationType StringToNotificationType(std::string& string_type); |
| 35 | 36 |
| 36 } // namespace notifications | 37 } // namespace notifications |
| 37 | 38 |
| 38 } // namespace ui | 39 } // namespace ui |
| 39 | 40 |
| 40 #endif // UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ | 41 #endif // UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ |
| OLD | NEW |