Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: ui/arc/notification/arc_custom_notification_item.h

Issue 2765923003: Extend notifications.mojom for expandable notifications. (Closed)
Patch Set: add Minversion to the enum Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/arc/common/notifications.mojom ('k') | ui/arc/notification/arc_custom_notification_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_custom_notification_item.h
diff --git a/ui/arc/notification/arc_custom_notification_item.h b/ui/arc/notification/arc_custom_notification_item.h
index 404a0cd4b9ba817dfbae0943dbc71f783ada9a40..3a671b9549a4881175dc7f240902bb29a2a70add 100644
--- a/ui/arc/notification/arc_custom_notification_item.h
+++ b/ui/arc/notification/arc_custom_notification_item.h
@@ -50,9 +50,14 @@ class ArcCustomNotificationItem : public ArcNotificationItem {
bool pinned() const { return pinned_; }
const gfx::ImageSkia& snapshot() const { return snapshot_; }
+ mojom::ArcNotificationExpandState expand_state() const {
+ return expand_state_;
+ }
private:
bool pinned_ = false;
+ mojom::ArcNotificationExpandState expand_state_ =
+ mojom::ArcNotificationExpandState::FIXED_SIZE;
gfx::ImageSkia snapshot_;
int window_ref_count_ = 0;
« no previous file with comments | « components/arc/common/notifications.mojom ('k') | ui/arc/notification/arc_custom_notification_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698