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

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

Issue 2873553002: [Notifications] Fix swipe to close for ARC notifications. (Closed)
Patch Set: Address comments. Created 3 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
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 6cd7f83a43253832ef8088591495cfeb9f0f9d92..df15b0f157fbd3b65bd4e0c56f6083294ad63e5a 100644
--- a/ui/message_center/views/custom_notification_view.h
+++ b/ui/message_center/views/custom_notification_view.h
@@ -34,12 +34,15 @@ class MESSAGE_CENTER_EXPORT CustomNotificationView : public MessageView {
void OnContentFocused();
void OnContentBlured();
- // Overidden from MessageView:
+ // Overridden from MessageView:
void SetDrawBackgroundAsActive(bool active) override;
bool IsCloseButtonFocused() const override;
void RequestFocusOnCloseButton() override;
void UpdateControlButtonsVisibility() override;
+ // views::SlideOutController::Delegate:
+ void OnSlideChanged() override;
+
// Overridden from views::View:
const char* GetClassName() const override;
gfx::Size GetPreferredSize() const override;

Powered by Google App Engine
This is Rietveld 408576698