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

Unified Diff: ui/arc/notification/arc_custom_notification_view.cc

Issue 2853783004: Retrieve pinned flag directly from Notification class (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | ui/message_center/views/custom_notification_content_view_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_custom_notification_view.cc
diff --git a/ui/arc/notification/arc_custom_notification_view.cc b/ui/arc/notification/arc_custom_notification_view.cc
index 0c8c2ea404313552bb7e8ac750756954ab1e9fad..e63acd15d3d3aebcc2b75d58e21b81278b439897 100644
--- a/ui/arc/notification/arc_custom_notification_view.cc
+++ b/ui/arc/notification/arc_custom_notification_view.cc
@@ -190,12 +190,6 @@ class ArcCustomNotificationView::ContentViewDelegate
owner_->UpdateControlButtonsVisibility();
}
- bool IsPinned() const override {
- if (!owner_->item_)
- return false;
- return owner_->item_->pinned();
- }
-
void UpdateControlButtonsVisibility() override {
owner_->UpdateControlButtonsVisibility();
}
« no previous file with comments | « no previous file | ui/message_center/views/custom_notification_content_view_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698