| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_CONTROLLER_H_ | |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_CONTROLLER_H_ | |
| 7 | |
| 8 #import <UIKit/UIKit.h> | |
| 9 | |
| 10 // Transition delegate object that conforms to the | |
| 11 // UIViewControllerTransitioningDelegate protocol and provides the VC | |
| 12 // with a ZoomAnimator as animator for transitions. | |
| 13 @interface ZoomTransitionController | |
| 14 : NSObject<UIViewControllerTransitioningDelegate> | |
| 15 | |
| 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 | |
| 18 // its index path passed in so the delegate can map that to a screen location. | |
| 19 @property(nonatomic, copy) NSObject* presentationKey; | |
| 20 @end | |
| 21 | |
| 22 #endif // IOS_CLEAN_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_CONTROLLER_H_ | |
| OLD | NEW |