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

Unified Diff: ui/message_center/views/popup_alignment_delegate.h

Issue 2834773002: Hide popup custom notifications on non-primary displays (Closed)
Patch Set: Rewrote comment 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 | « ui/message_center/views/message_popup_collection.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/popup_alignment_delegate.h
diff --git a/ui/message_center/views/popup_alignment_delegate.h b/ui/message_center/views/popup_alignment_delegate.h
index 6be86cbd860bd725159adfd1223a9e8b04d4242f..48787456927626bd215a5af4aa7d55dc06117670 100644
--- a/ui/message_center/views/popup_alignment_delegate.h
+++ b/ui/message_center/views/popup_alignment_delegate.h
@@ -56,6 +56,10 @@ class MESSAGE_CENTER_EXPORT PopupAlignmentDelegate {
views::Widget* widget,
views::Widget::InitParams* init_params) = 0;
+ // Returns true if the display which notifications show on is the primary
+ // display.
+ virtual bool IsPrimaryDisplayForNotification() const = 0;
+
protected:
virtual ~PopupAlignmentDelegate();
« no previous file with comments | « ui/message_center/views/message_popup_collection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698