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

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

Issue 2319893002: Merge "arc: Defer notification surface creation" (Closed)
Patch Set: Created 4 years, 3 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 | « ui/arc/notification/arc_custom_notification_view.cc ('k') | ui/arc/notification/arc_notification_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_notification_item.h
diff --git a/ui/arc/notification/arc_notification_item.h b/ui/arc/notification/arc_notification_item.h
index e59515e5d346426ed5367bb70706bc3190a85b11..3c5131b075fe26854ae89beb8e3821f1eb95c621 100644
--- a/ui/arc/notification/arc_notification_item.h
+++ b/ui/arc/notification/arc_notification_item.h
@@ -39,6 +39,8 @@ class ArcNotificationItem {
void Click();
void ButtonClick(int button_index);
+ const std::string& notification_key() const { return notification_key_; }
+
protected:
static int ConvertAndroidPriority(int android_priority);
static gfx::Image ConvertAndroidSmallIcon(
@@ -59,9 +61,9 @@ class ArcNotificationItem {
bool CalledOnValidThread() const;
const AccountId& profile_id() const { return profile_id_; }
- const std::string& notification_key() const { return notification_key_; }
const std::string& notification_id() const { return notification_id_; }
message_center::MessageCenter* message_center() { return message_center_; }
+ ArcNotificationManager* manager() { return manager_; }
message_center::Notification* pending_notification() {
return notification_.get();
« no previous file with comments | « ui/arc/notification/arc_custom_notification_view.cc ('k') | ui/arc/notification/arc_notification_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698