OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 // ====== New Architecture ===== | |
6 // = This code is only used in the new iOS Chrome architecture. = | |
7 // ============================================================================ | |
8 | |
9 #ifndef IOS_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_DELEGATE_H_ | |
10 #define IOS_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_DELEGATE_H_ | |
11 | |
12 #import <UIKit/UIKit.h> | |
13 | |
14 @protocol ZoomTransitionDelegate<NSObject> | |
15 // The rectangle to start or end a zoom transition in for the object identified | |
16 // by |key|, expressed in |view|'s coordinates. | |
17 - (CGRect)rectForZoomWithKey:(NSObject*)key inView:(UIView*)view; | |
18 @end | |
19 | |
20 #endif // IOS_CHROME_BROWSER_UI_ANIMATORS_ZOOM_TRANSITION_DELEGATE_H_ | |
OLD | NEW |