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

Side by Side Diff: ios/web/web_state/ui/crw_touch_tracking_recognizer.h

Issue 2396553002: [ARC] Converts part of ios/web/ui to ARC.
Patch Set: co Created 4 years, 2 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
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_TOUCH_TRACKING_RECOGNIZER_H_ 5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_TOUCH_TRACKING_RECOGNIZER_H_
6 #define IOS_WEB_WEB_STATE_UI_CRW_TOUCH_TRACKING_RECOGNIZER_H_ 6 #define IOS_WEB_WEB_STATE_UI_CRW_TOUCH_TRACKING_RECOGNIZER_H_
7 7
8 #import <UIKit/UIGestureRecognizerSubclass.h> 8 #import <UIKit/UIGestureRecognizerSubclass.h>
9 9
10 // Methods implemented by the delegate of the CRWTouchTrackingRecognizer. 10 // Methods implemented by the delegate of the CRWTouchTrackingRecognizer.
11 @protocol CRWTouchTrackingDelegate 11 @protocol CRWTouchTrackingDelegate
12 12
13 // Called with YES when touches began, with NO when touches are ended or 13 // Called with YES when touches began, with NO when touches are ended or
14 // cancelled. 14 // cancelled.
15 - (void)touched:(BOOL)touched; 15 - (void)touched:(BOOL)touched;
16 16
17 @end 17 @end
18 18
19 // UIGestureRecognizer subclass that informs delegate about touches using 19 // UIGestureRecognizer subclass that informs delegate about touches using
20 // simplified interface. 20 // simplified interface.
21 @interface CRWTouchTrackingRecognizer : UIGestureRecognizer 21 @interface CRWTouchTrackingRecognizer : UIGestureRecognizer
22 22
23 // CRWTouchTrackingRecognizer delegate. 23 // CRWTouchTrackingRecognizer delegate.
24 @property(nonatomic, assign) id<CRWTouchTrackingDelegate> touchTrackingDelegate; 24 @property(nonatomic, weak) id<CRWTouchTrackingDelegate> touchTrackingDelegate;
25 25
26 // Designated initializer for CRWTouchTrackingRecognizer. 26 // Designated initializer for CRWTouchTrackingRecognizer.
27 - (id)initWithDelegate:(id<CRWTouchTrackingDelegate>)delegate; 27 - (id)initWithDelegate:(id<CRWTouchTrackingDelegate>)delegate;
28 28
29 @end 29 @end
30 30
31 #endif // IOS_WEB_WEB_STATE_UI_CRW_TOUCH_TRACKING_RECOGNIZER_H_ 31 #endif // IOS_WEB_WEB_STATE_UI_CRW_TOUCH_TRACKING_RECOGNIZER_H_
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/crw_generic_content_view.mm ('k') | ios/web/web_state/ui/crw_touch_tracking_recognizer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698