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

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

Issue 2696523002: Stop notifications from being clipped on resize. (Closed)
Patch Set: More animations. 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
Index: ui/message_center/views/message_list_view.h
diff --git a/ui/message_center/views/message_list_view.h b/ui/message_center/views/message_list_view.h
index e71bc8f4e0a96ad9e8921ccfb27bff9bd211e8ea..67339f4bf5c4ec0322728ae1752489489ef16861 100644
--- a/ui/message_center/views/message_list_view.h
+++ b/ui/message_center/views/message_list_view.h
@@ -79,6 +79,11 @@ class MESSAGE_CENTER_EXPORT MessageListView
// Animates all notifications above target downwards to align with the top of
// the last closed notification.
void AnimateNotificationsAboveTarget();
+ // Computes reposition offsets for |AnimateNotificationsAboveTarget|.
+ std::vector<int> ComputeRepositionOffsets(const std::vector<int>& heights,
xiyuan 2017/02/16 16:57:46 nit: #include <vector> ?
Eliot Courtney 2017/02/17 07:49:49 Done.
+ const std::vector<bool>& deleting,
+ int target_index,
+ int padding);
// Schedules animation for a child to the specified position. Returns false
// if |child| will disappear after the animation.

Powered by Google App Engine
This is Rietveld 408576698