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

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

Issue 2897903002: [Notifications] Fix swipe to close for ARC notifications. (Closed)
Patch Set: 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 0df481270d7d84eadd42bfcd8e61ad9395b46563..ce9fa41f22589039cfa9416d9ae6020fcf49cfc3 100644
--- a/ui/message_center/views/custom_notification_view.h
+++ b/ui/message_center/views/custom_notification_view.h
@@ -30,13 +30,16 @@ 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;
bool IsPinned() const 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