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

Unified Diff: ui/message_center/views/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
Index: ui/message_center/views/custom_notification_view.cc
diff --git a/ui/message_center/views/custom_notification_view.cc b/ui/message_center/views/custom_notification_view.cc
index a648f83614afb3ca42dddeb698fcfd7f6ab7c35d..42d8f8ee6f0614170d485960f187e897aa3d7744 100644
--- a/ui/message_center/views/custom_notification_view.cc
+++ b/ui/message_center/views/custom_notification_view.cc
@@ -75,12 +75,6 @@ void CustomNotificationView::RequestFocusOnCloseButton() {
contents_view_delegate_->RequestFocusOnCloseButton();
}
-bool CustomNotificationView::IsPinned() const {
- if (!contents_view_delegate_)
- return false;
- return contents_view_delegate_->IsPinned();
-}
-
const char* CustomNotificationView::GetClassName() const {
return kViewClassName;
}
« no previous file with comments | « ui/message_center/views/custom_notification_view.h ('k') | ui/message_center/views/custom_notification_view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698