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

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

Issue 2685283002: Add UpdateNotificationSize to MessageCenterController. (Closed)
Patch Set: whitespace 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/custom_notification_view.h
diff --git a/ui/message_center/views/custom_notification_view.h b/ui/message_center/views/custom_notification_view.h
index fd8b7600d26b967e395f7816c33be76184f420af..0700010253ee5b28ea2feac390fe1719ea79e365 100644
--- a/ui/message_center/views/custom_notification_view.h
+++ b/ui/message_center/views/custom_notification_view.h
@@ -41,6 +41,7 @@ class MESSAGE_CENTER_EXPORT CustomNotificationView : public MessageView {
void RequestFocus() override;
void OnPaint(gfx::Canvas* canvas) override;
bool OnKeyPressed(const ui::KeyEvent& event) override;
+ void ChildPreferredSizeChanged(View* child) override;
private:
friend class CustomNotificationViewTest;

Powered by Google App Engine
This is Rietveld 408576698