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

Side by Side Diff: ios/clean/chrome/browser/ui/transitions/zoom_transition_controller.h

Issue 2955033002: [ios clean] Moves animator and presenters under transitions (Closed)
Patch Set: Created 3 years, 5 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 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698