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

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
« no previous file with comments | « ui/message_center/views/message_view.cc ('k') | ui/message_center/views/slide_out_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « ui/message_center/views/message_view.cc ('k') | ui/message_center/views/slide_out_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698