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

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

Issue 1424713006: ios: Stop using __weak. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « ios/web/navigation/crw_session_controller.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #import "ios/web/web_state/ui/crw_touch_tracking_recognizer.h" 5 #import "ios/web/web_state/ui/crw_touch_tracking_recognizer.h"
6 6
7 @interface CRWTouchTrackingRecognizer () <UIGestureRecognizerDelegate> { 7 @interface CRWTouchTrackingRecognizer () <UIGestureRecognizerDelegate> {
8 __weak id<CRWTouchTrackingDelegate> _delegate; 8 id<CRWTouchTrackingDelegate> _delegate; // weak
9 } 9 }
10 @end 10 @end
11 11
12 @implementation CRWTouchTrackingRecognizer 12 @implementation CRWTouchTrackingRecognizer
13 13
14 @synthesize touchTrackingDelegate = _delegate; 14 @synthesize touchTrackingDelegate = _delegate;
15 15
16 - (id)initWithDelegate:(id<CRWTouchTrackingDelegate>)delegate { 16 - (id)initWithDelegate:(id<CRWTouchTrackingDelegate>)delegate {
17 if ((self = [super init])) { 17 if ((self = [super init])) {
18 _delegate = delegate; 18 _delegate = delegate;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 #pragma mark - 51 #pragma mark -
52 #pragma mark UIGestureRecognizerDelegate Method 52 #pragma mark UIGestureRecognizerDelegate Method
53 53
54 - (BOOL)gestureRecognizer:(UIGestureRecognizer*)gestureRecognizer 54 - (BOOL)gestureRecognizer:(UIGestureRecognizer*)gestureRecognizer
55 shouldRecognizeSimultaneouslyWithGestureRecognizer: 55 shouldRecognizeSimultaneouslyWithGestureRecognizer:
56 (UIGestureRecognizer*)otherGestureRecognizer { 56 (UIGestureRecognizer*)otherGestureRecognizer {
57 return YES; 57 return YES;
58 } 58 }
59 59
60 @end 60 @end
OLDNEW
« no previous file with comments | « ios/web/navigation/crw_session_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698