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

Unified Diff: chrome/browser/ui/views/message_center/web_notification_tray.h

Issue 369573004: Separate the logic of popup alignment and workarea handling as delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 5 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: chrome/browser/ui/views/message_center/web_notification_tray.h
diff --git a/chrome/browser/ui/views/message_center/web_notification_tray.h b/chrome/browser/ui/views/message_center/web_notification_tray.h
index ea9f618c3a13eb5dfc78a778bc6196a02c994a6b..f97cfb655cd5c511ff8174432b37a80261927ce9 100644
--- a/chrome/browser/ui/views/message_center/web_notification_tray.h
+++ b/chrome/browser/ui/views/message_center/web_notification_tray.h
@@ -38,6 +38,7 @@ namespace message_center {
struct PositionInfo;
+class DesktopPopupAlignmentDelegate;
class MessageCenterWidgetDelegate;
// A MessageCenterTrayDelegate implementation that exposes the MessageCenterTray
@@ -113,6 +114,7 @@ class WebNotificationTray : public message_center::MessageCenterTrayDelegate,
MessageCenterWidgetDelegate* message_center_delegate_;
scoped_ptr<message_center::MessagePopupCollection> popup_collection_;
+ scoped_ptr<message_center::DesktopPopupAlignmentDelegate> alignment_delegate_;
StatusIcon* status_icon_;
StatusIconMenuModel* status_icon_menu_;

Powered by Google App Engine
This is Rietveld 408576698