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

Unified Diff: ui/message_center/views/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
« 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 cba532ba0d3c36e0e68472e8e0fa1efa78622dbe..d2df8f5c9c056e21fdea0302132abe14a952874f 100644
--- a/ui/message_center/views/popup_alignment_delegate.h
+++ b/ui/message_center/views/popup_alignment_delegate.h
@@ -36,8 +36,8 @@ class MESSAGE_CENTER_EXPORT PopupAlignmentDelegate {
// point if there are no other toasts.
virtual int GetBaseLine() const = 0;
- // Returns the height of the bottom of the current work area.
- virtual int GetWorkAreaBottom() const = 0;
+ // Returns the rect of the current work area.
+ virtual gfx::Rect GetWorkArea() const = 0;
// Returns true if the toast should be aligned top down.
virtual bool IsTopDown() const = 0;
« 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