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

Unified Diff: ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h

Issue 2680343002: Add haptic feedback for selection change and action trigger. (Closed)
Patch Set: 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: ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h
diff --git a/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h b/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h
index a8f2e6fa62e21ede244c7342a0fd7bd2aca4151a..fe5e8c0b65c2c9587d5fb7a26cf56f67c1dab8c6 100644
--- a/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h
+++ b/ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.h
@@ -27,9 +27,16 @@ enum class OverscrollStyle {
@protocol OverscrollActionsViewDelegate
+// Called when the user explicitly taps on one of the items to trigger its
+// action.
- (void)overscrollActionsViewDidTapTriggerAction:
(OverscrollActionsView*)overscrollActionsView;
+// Called after the selectedAction property changed and the animations have
+// been triggered.
+- (void)overscrollActionsView:(OverscrollActionsView*)view
+ selectedActionDidChange:(OverscrollAction)newAction;
+
@end
// This view displays the actions of the OverscrollActionsController.

Powered by Google App Engine
This is Rietveld 408576698