OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_CLEAN_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_CONTROLLER_H_ | 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TRANSITIONS_ZOOM_TRANSITION_CONTROLLER_H_ |
6 #define IOS_CLEAN_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_CONTROLLER_H_ | 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TRANSITIONS_ZOOM_TRANSITION_CONTROLLER_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 // Transition delegate object that conforms to the | 10 // Transition delegate object that conforms to the |
11 // UIViewControllerTransitioningDelegate protocol and provides the VC | 11 // UIViewControllerTransitioningDelegate protocol and provides a ZoomAnimator as |
12 // with a ZoomAnimator as animator for transitions. | 12 // animator for transitions. |
13 @interface ZoomTransitionController | 13 @interface ZoomTransitionController |
14 : NSObject<UIViewControllerTransitioningDelegate> | 14 : NSObject<UIViewControllerTransitioningDelegate> |
15 | 15 |
16 // Optional object that can be passed into the animator to identify a specific | 16 // Optional object that can be passed into the animator to identify a specific |
17 // location. For example, an object in a table or collection view might have | 17 // location. For example, an object in a table or collection view might have |
18 // its index path passed in so the delegate can map that to a screen location. | 18 // its index path passed in so the delegate can map that to a screen location. |
19 @property(nonatomic, copy) NSObject* presentationKey; | 19 @property(nonatomic, copy) NSObject* presentationKey; |
20 @end | 20 @end |
21 | 21 |
22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_CONTROLLER_H_ | 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TRANSITIONS_ZOOM_TRANSITION_CONTROLLER_H_ |
OLD | NEW |