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

Unified Diff: ash/system/web_notification/ash_popup_alignment_delegate.h

Issue 2008993004: Add a test of updating cached height for popup notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « ash/system/tray/system_tray_unittest.cc ('k') | ash/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/web_notification/ash_popup_alignment_delegate.h
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate.h b/ash/system/web_notification/ash_popup_alignment_delegate.h
index 50b70621a5748d17eea727bdbdb7b0e911017fec..b81f277087fa058a3944df8d23a97aaa3fa56655 100644
--- a/ash/system/web_notification/ash_popup_alignment_delegate.h
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.h
@@ -48,6 +48,9 @@ class ASH_EXPORT AshPopupAlignmentDelegate
// can avoid it.
void SetSystemTrayHeight(int height);
+ // Returns the current system tray height.
Mr4D (OOO till 08-26) 2016/05/27 14:01:06 Since this is only used by tests - could you pleas
yoshiki 2016/05/30 03:54:54 Done.
+ int system_tray_height() const { return system_tray_height_; }
+
// Overridden from message_center::PopupAlignmentDelegate:
int GetToastOriginX(const gfx::Rect& toast_bounds) const override;
int GetBaseLine() const override;
« no previous file with comments | « ash/system/tray/system_tray_unittest.cc ('k') | ash/system/web_notification/web_notification_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698