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

Unified Diff: ui/message_center/views/slide_out_controller.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/slide_out_controller.h
diff --git a/ui/message_center/views/slide_out_controller.h b/ui/message_center/views/slide_out_controller.h
index 6d7a71c7e3bc0c4fe14cfcf6e5938c75d4202808..5b01df2d98ea8fd9b7f218be216a6bdbf41ac827 100644
--- a/ui/message_center/views/slide_out_controller.h
+++ b/ui/message_center/views/slide_out_controller.h
@@ -23,6 +23,9 @@ class SlideOutController : public ui::EventHandler,
// Returns the layer for slide operations.
virtual ui::Layer* GetSlideOutLayer() = 0;
+ // Called when a slide starts, ends, or is updated.
+ virtual void OnSlideChanged() = 0;
+
// Called when user intends to close the View by sliding it out.
virtual void OnSlideOut() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698