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

Side by Side Diff: ios/chrome/browser/ui/overscroll_actions/overscroll_actions_gesture_recognizer.h

Issue 2817483002: [Workaround] Notify Overscroll Actions that a gesture ended. (Closed)
Patch Set: Add back removeTarget, use weak protocol Created 3 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_UI_OVERSCROLL_ACTIONS_OVERSCROLL_ACTIONS_GESTURE_RECO GNIZER_H_
6 #define IOS_CHROME_BROWSER_UI_OVERSCROLL_ACTIONS_OVERSCROLL_ACTIONS_GESTURE_RECO GNIZER_H_
7
8 #import <UIKit/UIPanGestureRecognizer.h>
9
10 // Subclass of UIPanGestureRecognizer that works around a bug where the targets'
11 // action is not called when the gesture ends while "Speak selection" is
12 // enabled (crbug.com/699655).
13 // This subclass works around the bug by calling the action of the target passed
14 // in the constructor when |reset| is called.
15 @interface OverscrollActionsGestureRecognizer : UIPanGestureRecognizer
16 @end
17
18 #endif // IOS_CHROME_BROWSER_UI_OVERSCROLL_ACTIONS_OVERSCROLL_ACTIONS_GESTURE_R ECOGNIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698