OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_PROTECTED_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_PROTECTED_H_ |
| 7 |
| 8 #import "ios/chrome/browser/ui/toolbar/toolbar_controller.h" |
| 9 |
| 10 @interface ToolbarController (Protected) |
| 11 |
| 12 // Animation key used for toolbar transition animations. |
| 13 extern NSString* const kToolbarTransitionAnimationKey; |
| 14 |
| 15 // An array of CALayers that are currently animating under |
| 16 // kToolbarTransitionAnimationKey. |
| 17 @property(nonatomic, readonly) NSMutableArray* transitionLayers; |
| 18 |
| 19 // Adds transition animations to every UIButton in |containerView| with a |
| 20 // nonzero opacity. |
| 21 - (void)animateTransitionForButtonsInView:(UIView*)containerView |
| 22 containerBeginBounds:(CGRect)containerBeginBounds |
| 23 containerEndBounds:(CGRect)containerEndBounds |
| 24 transitionStyle:(ToolbarTransitionStyle)style; |
| 25 |
| 26 @end |
| 27 |
| 28 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_CONTROLLER_PROTECTED_H_ |
OLD | NEW |