OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ | 5 #ifndef UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ |
6 #define UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ | 6 #define UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "components/arc/common/notifications.mojom.h" | 9 #include "components/arc/common/notifications.mojom.h" |
10 #include "ui/gfx/image/image_skia.h" | 10 #include "ui/gfx/image/image_skia.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Returns the current snapshot. | 70 // Returns the current snapshot. |
71 virtual const gfx::ImageSkia& GetSnapshot() const = 0; | 71 virtual const gfx::ImageSkia& GetSnapshot() const = 0; |
72 // Returns the current expand state. | 72 // Returns the current expand state. |
73 virtual mojom::ArcNotificationExpandState GetExpandState() const = 0; | 73 virtual mojom::ArcNotificationExpandState GetExpandState() const = 0; |
74 // Returns the current type of shown contents. | 74 // Returns the current type of shown contents. |
75 virtual mojom::ArcNotificationShownContents GetShownContents() const = 0; | 75 virtual mojom::ArcNotificationShownContents GetShownContents() const = 0; |
76 // Returns the notification key passed from Android-side. | 76 // Returns the notification key passed from Android-side. |
77 virtual const std::string& GetNotificationKey() const = 0; | 77 virtual const std::string& GetNotificationKey() const = 0; |
78 // Returns the notification ID used in the Chrome message center. | 78 // Returns the notification ID used in the Chrome message center. |
79 virtual const std::string& GetNotificationId() const = 0; | 79 virtual const std::string& GetNotificationId() const = 0; |
| 80 // Returnes the accessible name of the notification. |
| 81 virtual const base::string16& GetAccessibleName() const = 0; |
80 }; | 82 }; |
81 | 83 |
82 } // namespace arc | 84 } // namespace arc |
83 | 85 |
84 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ | 86 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ |
OLD | NEW |