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

Unified Diff: ui/message_center/views/custom_notification_view.cc

Issue 2668583005: Not Remove Non-Closable Arc Popup When Close Button is Pressed (Closed)
Patch Set: Addressed comment Created 3 years, 10 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/message_center/views/custom_notification_view.h ('k') | ui/message_center/views/message_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ce671e059e5911d91cc93b689022fafa712fe898..d876945cf5a6dfee367e02ee1cbf5654bc00dd16 100644
--- a/ui/message_center/views/custom_notification_view.cc
+++ b/ui/message_center/views/custom_notification_view.cc
@@ -19,6 +19,9 @@
namespace message_center {
+// static
+const char CustomNotificationView::kViewClassName[] = "CustomNotificationView";
+
CustomNotificationView::CustomNotificationView(
MessageCenterController* controller,
const Notification& notification)
@@ -78,6 +81,10 @@ bool CustomNotificationView::IsPinned() const {
return contents_view_delegate_->IsPinned();
}
+const char* CustomNotificationView::GetClassName() const {
+ return kViewClassName;
+}
+
void CustomNotificationView::UpdateControlButtonsVisibility() {
if (contents_view_delegate_)
contents_view_delegate_->UpdateControlButtonsVisibility();
« no previous file with comments | « ui/message_center/views/custom_notification_view.h ('k') | ui/message_center/views/message_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698