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

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

Issue 2696523002: Stop notifications from being clipped on resize. (Closed)
Patch Set: Add additional comments. Created 3 years, 10 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 | « ui/message_center/BUILD.gn ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/message_center_view.h
diff --git a/ui/message_center/views/message_center_view.h b/ui/message_center/views/message_center_view.h
index bd923fa531b1879c04c4a9d9ddb7614d94e16e90..da206b0ca08b845ee7c4163d1425c182e1774ff0 100644
--- a/ui/message_center/views/message_center_view.h
+++ b/ui/message_center/views/message_center_view.h
@@ -62,6 +62,10 @@ class MESSAGE_CENTER_EXPORT MessageCenterView
void SetIsClosing(bool is_closing);
protected:
+ // Potentially sets the reposition target, and then returns whether or not it
+ // was was set.
+ virtual bool SetRepositionTarget();
+
// Overridden from views::View:
void Layout() override;
gfx::Size GetPreferredSize() const override;
« no previous file with comments | « ui/message_center/BUILD.gn ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698