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

Side by Side Diff: ios/chrome/browser/ui/contextual_search/window_gesture_observer.h

Issue 2824493002: Reland of [ObjC ARC] Converts ios/chrome/browser/ui/contextual_search:contextual_search to ARC. (Closed)
Patch Set: fix test 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_WINDOW_GESTURE_OBSERVER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_WINDOW_GESTURE_OBSERVER_H_
6 #define IOS_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_WINDOW_GESTURE_OBSERVER_H_ 6 #define IOS_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_WINDOW_GESTURE_OBSERVER_H_
7 7
8 #import <UIKit/UIGestureRecognizerSubclass.h> 8 #import <UIKit/UIGestureRecognizerSubclass.h>
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
(...skipping 15 matching lines...) Expand all
26 // will be determined in this case. 26 // will be determined in this case.
27 // The target and action supplied in the -init will never be called in the 27 // The target and action supplied in the -init will never be called in the
28 // usual way other regognizers call their action methods, and adding new 28 // usual way other regognizers call their action methods, and adding new
29 // target/action pairs will silently no-op. 29 // target/action pairs will silently no-op.
30 // If |viewToExclude| is defined, this recognizer will require all gesture 30 // If |viewToExclude| is defined, this recognizer will require all gesture
31 // recognizers on it present at initialization time to fail before receiving 31 // recognizers on it present at initialization time to fail before receiving
32 // touch events. 32 // touch events.
33 33
34 @interface WindowGestureObserver : UIGestureRecognizer 34 @interface WindowGestureObserver : UIGestureRecognizer
35 35
36 @property(nonatomic, assign) UIView* viewToExclude; 36 @property(nonatomic, weak) UIView* viewToExclude;
37 @property(nonatomic, readonly) UIView* touchedView; 37 @property(nonatomic, weak, readonly) UIView* touchedView;
38 @end 38 @end
39 39
40 #endif // IOS_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_WINDOW_GESTURE_OBSERVER_H_ 40 #endif // IOS_CHROME_BROWSER_UI_CONTEXTUAL_SEARCH_WINDOW_GESTURE_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698