| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // Returns the current pinned state. | 68 // Returns the current pinned state. |
| 69 virtual bool GetPinned() const = 0; | 69 virtual bool GetPinned() const = 0; |
| 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. |
| 79 virtual const std::string& GetNotificationId() const = 0; |
| 78 }; | 80 }; |
| 79 | 81 |
| 80 } // namespace arc | 82 } // namespace arc |
| 81 | 83 |
| 82 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ | 84 #endif // UI_ARC_NOTIFICATION_ARC_NOTIFICATION_ITEM_H_ |
| OLD | NEW |