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

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

Issue 2472233002: Fix a bug of PopupAlignmentDelegate on non-primary display (Closed)
Patch Set: Addressed comment: returning a rect instead of top Created 4 years, 1 month 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/desktop_popup_alignment_delegate.h
diff --git a/ui/message_center/views/desktop_popup_alignment_delegate.h b/ui/message_center/views/desktop_popup_alignment_delegate.h
index 00807dc5b2380b83ea1233f230abc1e20d219a17..687b9f785d0efc4727324fb278767a4f9b0b2859 100644
--- a/ui/message_center/views/desktop_popup_alignment_delegate.h
+++ b/ui/message_center/views/desktop_popup_alignment_delegate.h
@@ -34,7 +34,7 @@ class MESSAGE_CENTER_EXPORT DesktopPopupAlignmentDelegate
// Overridden from PopupAlignmentDelegate:
int GetToastOriginX(const gfx::Rect& toast_bounds) const override;
int GetBaseLine() const override;
- int GetWorkAreaBottom() const override;
+ gfx::Rect GetWorkArea() const override;
bool IsTopDown() const override;
bool IsFromLeft() const override;
void RecomputeAlignment(const display::Display& display) override;

Powered by Google App Engine
This is Rietveld 408576698