OLD | NEW |
(Empty) | |
| 1 // Copyright 2012 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_STACK_VIEW_CARD_STACK_PINCH_GESTURE_RECOGNIZER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_STACK_VIEW_CARD_STACK_PINCH_GESTURE_RECOGNIZER_H_ |
| 7 |
| 8 #import <UIKit/UIGestureRecognizerSubclass.h> |
| 9 #import <UIKit/UIKit.h> |
| 10 |
| 11 // This gesture recognizer maintains state of the pinch with greater detail |
| 12 // than is available via the interface of a stock UIPinchGestureRecognizer. |
| 13 @interface CardStackPinchGestureRecognizer : UIPinchGestureRecognizer { |
| 14 } |
| 15 |
| 16 // Number of non-cancelled, non-ended touches involved in the gesture. |
| 17 @property(nonatomic, readonly) NSUInteger numberOfActiveTouches; |
| 18 |
| 19 @end |
| 20 |
| 21 #endif // IOS_CHROME_BROWSER_UI_STACK_VIEW_CARD_STACK_PINCH_GESTURE_RECOGNIZER_
H_ |
OLD | NEW |