Index: ios/clean/chrome/browser/ui/animators/zoom_transition_controller.h |
diff --git a/ios/clean/chrome/browser/ui/animators/zoom_transition_controller.h b/ios/clean/chrome/browser/ui/animators/zoom_transition_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fffd83e820db32e06fd52fd914d434afd0e94fd2 |
--- /dev/null |
+++ b/ios/clean/chrome/browser/ui/animators/zoom_transition_controller.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_CLEAN_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_CONTROLLER_H_ |
sczs
2017/06/22 21:46:35
I wasn't sure in which group TransitionControllers
marq (ping after 24h)
2017/06/23 09:18:49
How about we have chrome/browser/ui/transitions/,
sczs
2017/06/23 14:50:20
I like that idea.
As you suggested I'll make thos
|
+#define IOS_CLEAN_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_CONTROLLER_H_ |
+ |
+#import <UIKit/UIKit.h> |
+ |
+// Transition delegate object that conforms to the |
+// UIViewControllerTransitioningDelegate protocol and provides the VC |
lpromero
2017/06/23 15:42:51
"provides the VC": we actually don't know who is u
sczs
2017/06/23 15:52:35
That's actually true, will update this on the foll
|
+// with a ZoomAnimator as animator for transitions. |
+@interface ZoomTransitionController |
+ : NSObject<UIViewControllerTransitioningDelegate> |
+ |
+// Optional object that can be passed into the animator to identify a specific |
+// location. For example, an object in a table or collection view might have |
+// its index path passed in so the delegate can map that to a screen location. |
+@property(nonatomic, copy) NSObject* presentationKey; |
+@end |
+ |
+#endif // IOS_CLEAN_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_CONTROLLER_H_ |