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

Unified Diff: ash/common/system/web_notification/ash_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 | « no previous file | ash/common/system/web_notification/ash_popup_alignment_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/web_notification/ash_popup_alignment_delegate.h
diff --git a/ash/common/system/web_notification/ash_popup_alignment_delegate.h b/ash/common/system/web_notification/ash_popup_alignment_delegate.h
index 0f2fd31d7f7bde0c1339d2c309cdb1941021b647..a1b3c6edf551d1ffb0cd6390590c5e893fb8d01a 100644
--- a/ash/common/system/web_notification/ash_popup_alignment_delegate.h
+++ b/ash/common/system/web_notification/ash_popup_alignment_delegate.h
@@ -51,7 +51,7 @@ class ASH_EXPORT AshPopupAlignmentDelegate
// Overridden from message_center::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;
« no previous file with comments | « no previous file | ash/common/system/web_notification/ash_popup_alignment_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698