| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_FIND_BAR_FIND_BAR_TOUCH_FORWARDING_VIEW_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_TOUCH_FORWARDING_VIEW_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_TOUCH_FORWARDING_VIEW_H_ | 6 #define IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_TOUCH_FORWARDING_VIEW_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 // View that forwards all touch events inside itself to a given |targetView|. | 10 // View that forwards all touch events inside itself to a given |targetView|. |
| 11 @interface FindBarTouchForwardingView : UIView | 11 @interface FindBarTouchForwardingView : UIView |
| 12 | 12 |
| 13 // View to forward touch events to. | 13 // View to forward touch events to. |
| 14 @property(nonatomic, assign) UIView* targetView; | 14 @property(nonatomic, weak) UIView* targetView; |
| 15 | 15 |
| 16 @end | 16 @end |
| 17 | 17 |
| 18 #endif // IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_TOUCH_FORWARDING_VIEW_H_ | 18 #endif // IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_TOUCH_FORWARDING_VIEW_H_ |
| OLD | NEW |